← go back

cors moment

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Error</title></head><body><pre>Error: Not allowed by CORS<br> &nbsp; &nbsp;at origin (/home/jeffalo/projects/wasteof/wasteof2-api/index.js:59:16)<br> &nbsp; &nbsp;at /home/jeffalo/projects/wasteof/wasteof2-api/node_modules/cors/lib/index.js:219:13<br> &nbsp; &nbsp;at optionsCallback (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/cors/lib/index.js:199:9)<br> &nbsp; &nbsp;at corsMiddleware (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/cors/lib/index.js:204:7)<br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/layer.js:95:5)<br> &nbsp; &nbsp;at trim_prefix (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:317:13)<br> &nbsp; &nbsp;at /home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:284:7<br> &nbsp; &nbsp;at Function.process_params (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:335:12)<br> &nbsp; &nbsp;at next (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:275:10)<br> &nbsp; &nbsp;at jsonParser (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/body-parser/lib/types/json.js:110:7)</pre></body></html>
Sep 11, 2021, 7:58 AM
0 0 0

Comments