Skip to content

Commit

Permalink
Fix: add base URL for GitHub Pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
RUSHIGoswami committed Nov 22, 2024
1 parent 685d95b commit 25a9e51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/assets/index-B4hdjOGO.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/portfolio/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rushi - Portfolio</title>
<script type="module" crossorigin src="/assets/index-B4hdjOGO.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-ZTF_AXxC.css">
<script type="module" crossorigin src="/portfolio/assets/index-B4hdjOGO.js"></script>
<link rel="stylesheet" crossorigin href="/portfolio/assets/index-ZTF_AXxC.css">
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
base: '/portfolio/',
plugins: [react()],
server: {
port: 3000,
Expand Down

0 comments on commit 25a9e51

Please sign in to comment.