Repository navigation
Serve the documentation from developers.timr.com - #1
Merged
Merged
Conversation
daberni
force-pushed
the
api-1.0-specification-and-documentation
branch
from
August 17, 2026 13:58
aa85a14 to
d91bf7c
Compare
daberni
force-pushed
the
api-1.0-specification-and-documentation
branch
from
August 17, 2026 14:00
d91bf7c to
285cd29
Compare
daberni
added a commit
that referenced
this pull request
Sep 4, 2026
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.
The documentation went live on the Pages default address,
https://troii.github.io/timr-api/, becausedevelopers.timr.comstill resolved through the*.timr.comwildcard to the production load balancer. That record is now a CNAME totroii.github.io, so the site can move to its own domain.What changes
site/public/CNAMEreturns. Pages reads it on deployment and sets the custom domain from it, which is what makes the site answer ondevelopers.timr.com.site/vite.config.jsgoes away. It existed only to build the site for a subpath — without a base, every asset resolves to the domain root, which is correct again once the site is served from one.Why this completes it
mainalready names the custom domain in the two places that have to agree with it: the try-it console's redirect URI inspec/overlay.yamland the published-at address inREADME.md. Only the base URL and the CNAME were on the temporary address, so this is the last half of the pair. The console matters here specifically — the authorization server completes its flow only on a redirect URI registered exactly, so the address the site is served from and the URI the console sends have to be the same string.After merging
pages.ymldeploys and Pages picks up the custom domain from the CNAME file.developers.timr.comcurrently resolves but does not serve TLS, because Pages has no certificate for a domain it has not been told about yet; that resolves itself once the domain is set and verified.Still needed before the try-it console works against the live API, both now pinned to
https://developers.timr.com/rather than the github.io address:api.timr.comfor that origin, withAuthorizationlisted explicitly — a wildcard does not cover it.Managing the Pages configuration itself as code is troii/github-management#90.
🤖 Generated with Claude Code