[feat] added request methods

This commit is contained in:
kwaroran
2023-05-10 00:57:04 +09:00
parent 34f4d7bedc
commit 478d337d4b
6 changed files with 177 additions and 3 deletions

6
server/proxy/server.js Normal file
View File

@@ -0,0 +1,6 @@
const cors_proxy = require('cors-anywhere');
const host = process.env.HOST || 'localhost';
const port = process.env.PORT || 8080;
cors_proxy.createServer({originWhitelist: []}).listen(port, host, function() {console.log('Running Proxy on ' + host + ':' + port);});