Skip to content

Commit b3f9824

Browse files
GutoVeroneziDaanHoogland
authored andcommitted
Fix Vue devServer after CSRF fix
1 parent 13dd698 commit b3f9824

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ui/vue.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ const vueConfig = {
142142
secure: false,
143143
ws: false,
144144
changeOrigin: true,
145-
proxyTimeout: 10 * 60 * 1000 // 10 minutes
145+
proxyTimeout: 10 * 60 * 1000, // 10 minutes
146+
cookieDomainRewrite: '*',
147+
cookiePathRewrite: {
148+
'/client': '/'
149+
}
146150
}
147151
},
148152
https: process.env.HTTPS_KEY ? {

0 commit comments

Comments
 (0)