This commit is contained in:
philipcheung 2025-03-16 14:55:18 +08:00
parent b42a69e70b
commit 6078710855
1 changed files with 3 additions and 3 deletions

View File

@ -6,13 +6,13 @@ export default defineConfig({
base: "/", base: "/",
plugins: [react(), tsconfigPaths()], plugins: [react(), tsconfigPaths()],
preview: { preview: {
port: 8080, port: 3000,
strictPort: true, strictPort: true,
}, },
server: { server: {
port: 8080, port: 3000,
strictPort: true, strictPort: true,
host: true, host: true,
origin: "http://0.0.0.0:8080", origin: "http://0.0.0.0:3000",
}, },
}) })