[security] csrf protection - fix (disable no-ssr)

This commit is contained in:
Andrea Vos 2022-09-28 21:15:09 +02:00
parent 56f61c485c
commit 108923b461

View File

@ -224,7 +224,10 @@ export default {
PLAUSIBLE_API_HOST: process.env.PLAUSIBLE_API_HOST,
HEARTBEAT_LINK: process.env.HEARTBEAT_LINK,
},
serverMiddleware: ['~/server/no-ssr.js', '~/server/index.js'],
serverMiddleware: [
// '~/server/no-ssr.js',
'~/server/index.js'
],
axios: {
baseURL: process.env.BASE_URL + '/api',
},