← 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> at origin (/home/jeffalo/projects/wasteof/wasteof2-api/index.js:59:16)<br> at /home/jeffalo/projects/wasteof/wasteof2-api/node_modules/cors/lib/index.js:219:13<br> at optionsCallback (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/cors/lib/index.js:199:9)<br> at corsMiddleware (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/cors/lib/index.js:204:7)<br> at Layer.handle [as handle_request] (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:317:13)<br> at /home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:284:7<br> at Function.process_params (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:335:12)<br> at next (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:275:10)<br> 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