Skip to content

Commit

Permalink
Fixed dev environment, front and back can be live reloaded simultaneo…
Browse files Browse the repository at this point in the history
…usly again
  • Loading branch information
allomanta committed Oct 18, 2024
1 parent 1f804e9 commit d07a778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IguideME.Web/Frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import mkcert from 'vite-plugin-mkcert';
// https://vitejs.dev/config/
export default defineConfig((env) => ({
plugins: [react(), mkcert()],
base: env.mode === 'production' ? '/dist/' : '/',
base: env.mode === 'production' ? '/dist/' : '/front',
server: {
https: true,
port: 3000,
Expand Down

0 comments on commit d07a778

Please sign in to comment.