Skip to content

Commit 8a360d5

Browse files
committed
Basename again?
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
1 parent 644c5e2 commit 8a360d5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export default function Header() {
6565
open={Boolean(anchorEl)}
6666
onClose={handleClose}
6767
>
68-
<MenuItem onClick={() => { changePage("") }}>Reminders</MenuItem>
69-
<MenuItem onClick={() => changePage("about")}>About</MenuItem>
68+
<MenuItem onClick={() => { changePage("/") }}>Reminders</MenuItem>
69+
<MenuItem onClick={() => changePage("/about/")}>About</MenuItem>
7070
</Menu>
7171
</div>
7272
</Toolbar>

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function getGitCommit() {
1414
// https://vite.dev/config/
1515
export default defineConfig({
1616
plugins: [react()],
17-
base: "/ReminderBox/",
17+
base: "/ReminderBox",
1818
define: {
1919
__APP_COMMIT__: JSON.stringify(getGitCommit()),
2020
},

0 commit comments

Comments
 (0)