We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecaf61f commit 484fe2bCopy full SHA for 484fe2b
site/webpack.dev.ts
@@ -52,6 +52,8 @@ const config: Configuration = {
52
devMiddleware: {
53
publicPath: "/",
54
headers: {
55
+ // This header corresponds to "src/api/api.ts"'s hardcoded FE token.
56
+ // This is the secret side of the CSRF double cookie submit method.
57
"Set-Cookie":
58
"csrf_token=JXm9hOUdZctWt0ZZGAy9xiS/gxMKYOThdxjjMnMUyn4=; Path=/; HttpOnly; SameSite=Lax",
59
},
0 commit comments