Skip to content

v2.0.4

Choose a tag to compare

@Grazulex Grazulex released this 30 Jan 21:08
· 4 commits to main since this release
325a73d
feat: add subdomain-based API routing support (#23)

Add support for subdomain-based API routing (e.g., api.example.com/v1/users)
without requiring the /api URL prefix.

Changes:
- Add `domain` option to strategies.uri config
- Support empty prefix for cleaner URLs
- Apply Route::domain() when domain is configured
- Works with both URI and non-URI strategies

Closes #22