Skip to content

Commit

Permalink
Remove tailing slash (#157)
Browse files Browse the repository at this point in the history
If user access /dashboard in some environments that do not handle
redirection, the page will not be visible. This commit solves the
problem by removing the trailing slash from base.
  • Loading branch information
hackerwins authored Jul 4, 2024
1 parent fdcf459 commit 1f00358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import svgr from 'vite-plugin-svgr';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
base: '/dashboard/',
base: '/dashboard',
plugins: [react(), commonjs(), svgr(), tsconfigPaths()],
});

0 comments on commit 1f00358

Please sign in to comment.