Commit 2fd29285 authored by zhijie.xue's avatar zhijie.xue

请求使用http2

parent 0c3c0dd5
......@@ -47,7 +47,8 @@ const request = async (url, options) => {
url: url,
data: options.data,
method: options.method,
header: options.header
header: options.header,
enableHttp2: true
}).then(res => {
let errMsg = null;
if (res.statusCode === 200) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment