Use corsanywhere on android to patch requests
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user