ci: change site domain name
This commit is contained in:
@@ -29,8 +29,6 @@ const router = createBrowserRouter([
|
||||
},
|
||||
],
|
||||
},
|
||||
], {
|
||||
basename: process.env.NODE_ENV === 'production' ? '/react-template' : '/'
|
||||
})
|
||||
])
|
||||
|
||||
export default router
|
||||
|
||||
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user