staticwebapp.config.json -> routes redirect does not support fully qualified URLs
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Redirects with full URLs do not trigger redirects. Consider:
```json
{
"routes": [
{
"route": "https://blog.johnnyreilly.com/",
"redirect": "https://johnnyreilly.com/",
"statusCode": 301
}
],
}
```
This does not trigger a redirect from https://blog.johnnyreilly.com to https://johnnyreilly.com
https://github.com/johnnyreilly/blog.johnnyreilly.com/blob/3cd71d0b968b21ed82c8b248ef78993da2632783/blog-website/staticwebapp.config.json#L10-L14
Go to https://blog.johnnyreilly.com and you'll see it in action!
**Expected behavior**
A redirect
**Screenshots**

**Device info (if applicable):**
N/A
**Additional context**
https://github.com/johnnyreilly/blog.johnnyreilly.com/pull/477
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.