Skip to content

Commit 790166e

Browse files
JacobCoffeeclaude
andcommitted
fix GitHub Pages base path for assets
Add base: /python-insider-blog so CSS/JS/images load from the correct subdirectory path. Dev mode keeps base: / for local development. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c05888e commit 790166e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

astro.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ if (isDev) {
2525
}
2626

2727
export default defineConfig({
28-
site: "https://jacobcoffee.github.io/python-insider-blog",
28+
site: "https://jacobcoffee.github.io",
29+
base: isDev ? "/" : "/python-insider-blog",
2930
integrations,
3031
output: isDev ? "server" : "static",
3132
...(isDev && {

0 commit comments

Comments
 (0)