try to depoly

This commit is contained in:
2025-03-16 14:38:39 +08:00
parent ab9151d2c9
commit b42a69e70b
3 changed files with 20 additions and 26 deletions

View File

@@ -3,5 +3,16 @@ import react from '@vitejs/plugin-react'
import tsconfigPaths from "vite-tsconfig-paths"
// https://vite.dev/config/
export default defineConfig({
plugins: [react(),tsconfigPaths()],
base: "/",
plugins: [react(), tsconfigPaths()],
preview: {
port: 8080,
strictPort: true,
},
server: {
port: 8080,
strictPort: true,
host: true,
origin: "http://0.0.0.0:8080",
},
})