- clone repozitory
git clone https://github.com/Fulldroper/cors-proxy.git
- open folder
cd cors-proxy
- install packages
npm i
- start server
nmp start
Make default requests to /
path and set header cors-url
with site url
For ignore headers set header cors-ignore
with array of headers will be deleted from request
all methods, headers, params duplicated automatically
- Create file
.env
- write
PORT=<Your port>
- Save changes
Change or add to file
.env
next lineENTERPOINT=/
Change or add to file
.env
next lineALOWED=GET, POST, PUT, DELETE
More questions? mail me