refactor: change vite config

This commit is contained in:
Mauricio Siu
2024-06-30 19:44:53 -06:00
parent 1b571d4c12
commit 09eb98dcc2

View File

@@ -53,6 +53,8 @@ export default defineConfig(({ command, mode }): UserConfig => {
}, },
}, },
preview: { preview: {
host: true,
port: 3000,
headers: { headers: {
// Do cache the server response in preview (non-adapter production build) // Do cache the server response in preview (non-adapter production build)
"Cache-Control": "public, max-age=600", "Cache-Control": "public, max-age=600",