Do not serve ancestor folder

This commit is contained in:
Alessio Davoli 2023-12-12 17:18:22 +01:00
parent aeaec1c3d2
commit 7456e9825d

View file

@ -17,12 +17,6 @@ const config = {
precompress: false, precompress: false,
}) })
}, },
server: {
fs: {
// Allow serving files from one level up to the project root
allow: ['..'],
},
},
}; };
export default config; export default config;