Compare commits

..

2 Commits

Author SHA1 Message Date
louiscklaw
35b1cd1eba update, 2025-06-13 18:35:58 +08:00
louiscklaw
4de7a564e3 fix production environment no zsh, 2025-06-13 18:26:01 +08:00
3 changed files with 12 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env zsh
#!/usr/bin/env bash
set -x

View File

@@ -31,8 +31,16 @@ export default defineConfig({
},
],
},
server: { port: PORT, host: true },
preview: { port: PORT, host: true },
server: {
port: PORT,
host: true,
allowedHosts: ['pa_admin.louislabs.com', 'localhost'],
},
preview: {
port: PORT,
host: true,
allowedHosts: ['pa_admin.louislabs.com', 'localhost'],
},
build: {
sourcemap: true,
},

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env zsh
#!/usr/bin/env bash
set -x