Skip to content

Commit

Permalink
fix: change config for fix assets paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sanua356 committed Aug 9, 2024
1 parent 6059158 commit 034dfb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { defineConfig } from 'vite';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: '/vite-deploy-demo/',
resolve: {
alias: [
{ find: '@', replacement: fileURLToPath(new URL('./src', import.meta.url)) },
Expand Down

0 comments on commit 034dfb3

Please sign in to comment.