Use corsanywhere on android to patch requests

This commit is contained in:
WardPearce
2024-09-20 19:30:33 +12:00
parent 22cc29f723
commit 9965edbacd
11 changed files with 75 additions and 2 deletions
@@ -0,0 +1,5 @@
const corsAnywhere = require('cors-anywhere');
corsAnywhere.createServer({
originWhitelist: [],
}).listen(3000, 'localhost');
@@ -0,0 +1,8 @@
{
"name": "cors-patch",
"version": "0.0.1",
"main": "./index.js",
"dependencies": {
"cors-anywhere": "^0.4.4"
}
}