File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ concurrency:
1717jobs :
1818 build :
1919 runs-on : ubuntu-latest
20+ env :
21+ NODE_ENV : production
2022 steps :
2123 - uses : actions/checkout@v4
2224 - uses : oven-sh/setup-bun@v2
Original file line number Diff line number Diff line change @@ -9,5 +9,6 @@ export function getRouter() {
99 defaultPreload : 'intent' ,
1010 scrollRestoration : true ,
1111 defaultNotFoundComponent : NotFound ,
12+ basepath : import . meta. env . PROD ? '/duron' : '/' ,
1213 } )
1314}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { defineConfig } from 'vite'
88import tsConfigPaths from 'vite-tsconfig-paths'
99
1010export default defineConfig ( {
11+ base : process . env . NODE_ENV === 'production' ? '/duron' : '/' ,
1112 server : {
1213 port : 3001 ,
1314 } ,
You can’t perform that action at this time.
0 commit comments