Skip to content

Commit

Permalink
chore: add base path on vite config to deploy on gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
0xabdulkhaliq committed May 15, 2024
1 parent 583dd15 commit 03f0ba9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=/" />
</head>
<body>
</body>
</html>
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: '/cv-application/',
})

0 comments on commit 03f0ba9

Please sign in to comment.