Update server.cjs

This commit is contained in:
shirosaki-hana
2025-04-11 17:29:42 +09:00
committed by GitHub
parent c1d4b4daa3
commit e2ae651557

View File

@@ -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();
})();
})();