We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6009b6b commit 034490aCopy full SHA for 034490a
notification-server/src/server.js
@@ -18,7 +18,7 @@ app.use(cors());
18
app.use(helmet.hidePoweredBy());
19
app.use(express.json({ extended: false }));
20
app.use(cookieParser());
21
-app.use(csurf({ cookie: true, ignoreMethods: ['POST']}));
+app.use(csurf({ cookie: true, ignoreMethods: ['GET', 'POST']}));
22
23
app.get("/sse/notifications/:channelId", (req, res) => {
24
const { channelId } = req.params;
0 commit comments