build(vite): configure server host and allowed hosts

This commit is contained in:
2025-10-27 15:09:18 +08:00
parent 87f530ca55
commit ba569dafad

View File

@@ -14,6 +14,10 @@ export default defineConfig({
} }
}) })
], ],
server: {
host: '0.0.0.0',
allowedHosts: ['154.9.253.114', 'localhost', 'teres.deep-pilot.chat'],
},
resolve: { resolve: {
alias: { alias: {
'@': path.resolve(__dirname, './src'), '@': path.resolve(__dirname, './src'),