Skip to content

Commit 1ce1eeb

Browse files
committed
Fix base path for GitHub Pages
1 parent 463596c commit 1ce1eeb

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<head>
55
<meta charset="UTF-8" />
6-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<link rel="icon" type="image/svg+xml" href="/ataulhai.github.io/vite.svg" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88

99
<!-- SEO Meta Tags -->
@@ -24,8 +24,8 @@
2424
<link rel="preconnect" href="https://fonts.googleapis.com">
2525
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
2626
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
27-
<script type="module" crossorigin src="/assets/index-D-IKIV5W.js"></script>
28-
<link rel="stylesheet" crossorigin href="/assets/index-vyM8XurD.css">
27+
<script type="module" crossorigin src="/ataulhai.github.io/assets/index-Big1xFzz.js"></script>
28+
<link rel="stylesheet" crossorigin href="/ataulhai.github.io/assets/index-vyM8XurD.css">
2929
</head>
3030

3131
<body>

vite.config.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
import { defineConfig } from 'vite';
2-
import react from '@vitejs/plugin-react';
1+
import { defineConfig } from 'vite'
2+
import react from '@vitejs/plugin-react'
33

4-
// https://vite.dev/config/
54
export default defineConfig({
65
plugins: [react()],
7-
86
// ===========================================
97
// GITHUB PAGES CONFIGURATION
10-
//
8+
119
// Set 'base' to your repository name for GitHub Pages.
1210
// If your repo is: github.com/yourusername/Portfolio
1311
// Then base should be: '/Portfolio/'
14-
//
12+
1513
// For local development, this doesn't affect anything.
1614
// ===========================================
17-
base: '/',
18-
});
15+
base: '/ataulhai.github.io/',
16+
})

0 commit comments

Comments
 (0)