Skip to content

Commit

Permalink
Use env. var. env.VITE_BASE to configure base
Browse files Browse the repository at this point in the history
  • Loading branch information
olibre committed Dec 6, 2023
1 parent af6ba4e commit ecc9e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default defineConfig(({ command, mode }) => {
const env = loadEnv(mode, process.cwd(), '')

return {
base: '/next/',
base: env.VITE_BASE,

build: {
rollupOptions: {
Expand Down

0 comments on commit ecc9e3d

Please sign in to comment.