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