Skip to content

Commit a46218a

Browse files
guofooclaude
andcommitted
Fix GitHub Pages deployment by setting correct base path
Updated both astro.config.ts and src/config.yaml to use the correct base path '/website' for GitHub Pages deployment at moly-ai.github.io/website/. This fixes the issue where CSS and other assets were failing to load due to incorrect absolute paths. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent efc3c1d commit a46218a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

astro.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ const whenExternalScripts = (items: (() => AstroIntegration) | (() => AstroInteg
2323

2424
export default defineConfig({
2525
output: 'static',
26+
site: 'https://moly-ai.github.io',
27+
base: '/website',
2628

2729
integrations: [
2830
tailwind({

src/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
site:
22
name: Moly AI App
3-
site: 'https://moly-ai.ai'
4-
base: '/'
3+
site: 'https://moly-ai.github.io'
4+
base: '/website'
55
trailingSlash: false
66

77
googleSiteVerificationId: orcPxI47GSa-

0 commit comments

Comments
 (0)