Commit f8d27eec authored by Dennis Willers's avatar Dennis Willers 🏀

Now no CORS Problems anymore

parent 1ea5e257
Pipeline #326 passed with stages
in 3 minutes and 8 seconds
......@@ -2,10 +2,7 @@ const Express = require("express")();
const Http = require("http").Server(Express);
const Socketio = require("socket.io")(Http, {
cors: {
origin: "ws://tabu-server.willers.digital",
methods: ["GET", "POST"],
allowedHeaders: ["Access-Control-Allow-Origin"],
credentials: true
origin: '*',
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment