Skip to content

Commit b7577cb

Browse files
committed
ci: change site domain name
1 parent 0ba8da3 commit b7577cb

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/router/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ const router = createBrowserRouter([
2929
},
3030
],
3131
},
32-
], {
33-
basename: process.env.NODE_ENV === 'production' ? '/react-template' : '/'
34-
})
32+
])
3533

3634
export default router

vite.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import tailwindcss from "@tailwindcss/vite"
66
// https://vite.dev/config/
77
export default defineConfig({
88
plugins: [react(), tailwindcss()],
9-
base: process.env.NODE_ENV === 'production' ? '/react-template/' : '/',
109
resolve: {
1110
alias: {
1211
"@": fileURLToPath(new URL("./src", import.meta.url)),

0 commit comments

Comments
 (0)