Skip to content

Fix custom-domain CSS paths in Pages build#7

Merged
ishikawa merged 3 commits into
mainfrom
custom-domain
Feb 13, 2026
Merged

Fix custom-domain CSS paths in Pages build#7
ishikawa merged 3 commits into
mainfrom
custom-domain

Conversation

@ishikawa

Copy link
Copy Markdown
Owner

Summary

  • resolve wrong base path when deploying with a custom domain
  • in deploy workflow, use PUBLIC_SITE_BASE=/ when site/public/CNAME exists
  • keep project-page base path fallback for non-custom-domain deployments

Why

The previous Pages build used /nue-lang.com/ base, causing stylesheet and asset URLs to resolve incorrectly on https://nue-lang.com/.

Verification

  • npm run build in site/
  • inspected latest Pages artifact to confirm previous /nue-lang.com/_astro/... paths were the issue

@ishikawa ishikawa merged commit 212f9e4 into main Feb 13, 2026
1 check passed
@ishikawa ishikawa deleted the custom-domain branch February 13, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant