refactor: change vite config
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user