ci: change site domain name

This commit is contained in:
2025-09-15 21:29:21 +08:00
parent 0ba8da3420
commit b7577cb26f
2 changed files with 1 additions and 4 deletions
+1 -3
View File
@@ -29,8 +29,6 @@ const router = createBrowserRouter([
},
],
},
], {
basename: process.env.NODE_ENV === 'production' ? '/react-template' : '/'
})
])
export default router
-1
View File
@@ -6,7 +6,6 @@ import tailwindcss from "@tailwindcss/vite"
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
base: process.env.NODE_ENV === 'production' ? '/react-template/' : '/',
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),