mirror of
https://github.com/Dokploy/examples
synced 2025-06-26 18:15:52 +00:00
refactor: change vite config
This commit is contained in:
@@ -53,6 +53,8 @@ export default defineConfig(({ command, mode }): UserConfig => {
|
||||
},
|
||||
},
|
||||
preview: {
|
||||
host: true,
|
||||
port: 3000,
|
||||
headers: {
|
||||
// Do cache the server response in preview (non-adapter production build)
|
||||
"Cache-Control": "public, max-age=600",
|
||||
|
||||
Reference in New Issue
Block a user