mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-21 08:33:28 +08:00
Fixed most lint errors
This commit is contained in:
4
test-app/node_modules/proxy/index.js
generated
vendored
4
test-app/node_modules/proxy/index.js
generated
vendored
@@ -17,7 +17,7 @@ Proxy.prototype.handle = function (ctx, next) {
|
||||
if(ctx.req && ctx.req.method !== 'GET') return next();
|
||||
var remote = this.remote;
|
||||
request.get(remote + ctx.url).pipe(ctx.res);
|
||||
}
|
||||
};
|
||||
|
||||
Proxy.label = 'HTTP Proxy';
|
||||
Proxy.defaultPath = '/proxy';
|
||||
@@ -28,4 +28,4 @@ Proxy.basicDashboard = {
|
||||
, type: "text" //"textarea", "number", and "checkbox" work as well
|
||||
, description: "The remote server to proxy to."
|
||||
}]
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user