diff --git a/packages/play-node-go/server/server.js b/packages/play-node-go/server/server.js index 87e4704..0a85883 100644 --- a/packages/play-node-go/server/server.js +++ b/packages/play-node-go/server/server.js @@ -22,7 +22,8 @@ const app = express(); const allowedOrigin = process.env.REACT_ADDRESS; const corsOptions = { origin: allowedOrigin, - credentials: true + credentials: true, + methods: "GET,PUT,POST,DELETE" } app.options('*', cors(corsOptions));