Browse Source

cors

master
zeus 3 years ago
parent
commit
c14a6347f6
  1. 1
      readmongo/swarmlab-app/src/run/app.js

1
readmongo/swarmlab-app/src/run/app.js

@ -80,6 +80,7 @@ const whitelist = [
"http://localhost:3081", "http://localhost:3081",
"http://localhost:3082", "http://localhost:3082",
"http://webclient.poc-datacollector_datacollector-net:8080", "http://webclient.poc-datacollector_datacollector-net:8080",
"http://webclient.poc-datacollector_datacollector-net:8085",
]; ];
const corsOptions = { const corsOptions = {
credentials: true, credentials: true,

Loading…
Cancel
Save