Update server.cjs
This commit is contained in:
@@ -240,8 +240,8 @@ async function hubProxyHandler(req, res, next) {
|
||||
}
|
||||
|
||||
app.get('/hub-proxy/*', hubProxyHandler);
|
||||
// app.post('/hub-proxy/*', hubProxyHandler);
|
||||
// app.put('/hub-proxy/*', hubProxyHandler);
|
||||
app.post('/hub-proxy/*', hubProxyHandler);
|
||||
app.put('/hub-proxy/*', hubProxyHandler);
|
||||
|
||||
app.get('/proxy', reverseProxyFunc_get);
|
||||
app.get('/proxy2', reverseProxyFunc_get);
|
||||
@@ -457,4 +457,4 @@ async function startServer() {
|
||||
|
||||
(async () => {
|
||||
await startServer();
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user