fix(site): serve from custom domain reasonix.io#3880
Merged
Conversation
The site is now served from the apex domain reasonix.io at the root, not from the GitHub Pages repo subpath. Drop the Astro base '/DeepSeek-Reasonix' (which prefixed every asset URL and broke CSS), point site at https://reasonix.io, and derive canonical/og:url from Astro.site instead of hardcoding the old esengine.github.io URL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The landing site is now served from the apex custom domain reasonix.io at the site root, not from the GitHub Pages repo subpath (
esengine.github.io/DeepSeek-Reasonix/).Why
After pointing
reasonix.ioat GitHub Pages, the site rendered unstyled: the build still carried the Astrobase: '/DeepSeek-Reasonix', so every asset URL was prefixed (e.g. the stylesheet resolved to/DeepSeek-Reasonix/static/index.*.css) and 404'd at the domain root.canonicalandog:urlwere also hardcoded to the oldesengine.github.io/DeepSeek-Reasonix/URL.Changes
site/astro.config.mjs: setsite: 'https://reasonix.io', dropbase: '/DeepSeek-Reasonix'.site/src/layouts/Base.astro: derivecanonical/og:urlfromAstro.siteinstead of hardcoding the URL, so they won't go stale on a future domain change.Verification
Local
npm run buildoutput now resolves to root-relative paths (stylesheet/static/index.*.css, favicon/favicon.svg, canonical/og:urlhttps://reasonix.io/). No residual/DeepSeek-Reasonixprefixes remain in the build output.Note: this is independent of the pending HTTPS certificate issuance for the custom domain.