feat: optional routes mapping for custom subdomain routing #17
No reviewers
Labels
No labels
bug
ci
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
leon/Forge-Pages!17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jensgrote/Forge-Pages:feat/custom-routes-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds an optional
routesmapping toconfig.ymlthat allows mapping custom subdomains to owner/repo pairs, enabling clean subdomain URLs likehomeassistant.example.cominstead ofowner.example.com/repo.Changes
Routes map[string]RouteConfigto the Config structNon-breaking
routesconfig is optional — default behavior is unchangedRelated
Closes #10
Thanks! I removed some files. Please do not commit files that do not have anything to do with your feature proposal (like a LICENSE and sbom files where you are the maintainer??).
Additionally, this does not close #10, as it describes letting users decide whether a deployment would be accessible via a CNAME. With your changes, it is only configurable server-side. But it's a nice additional feature nonetheless.
Please don't forget to update the README.md with your changes!
I'm going to review the rest of the changes later.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.