Skip to content

V2.0.5

Choose a tag to compare

@Grazulex Grazulex released this 31 Jan 09:44
· 2 commits to main since this release
3a061ff
feat: add multi-domain support for API routing (#25)

Allow the domain config option to accept an array of domains
for resilience/redundancy scenarios where the same API needs
to be accessible from multiple domains.

- Add normalizeDomains() helper to handle string|array|null
- Update registerUriRoutes() and registerNonUriRoutes() to loop through domains
- Add tests for multi-domain routing
- Update README and Wiki documentation
- Add @sameededitz to thanks section

Closes #22