Repository navigation
Commit ecb02cf
committed
fix: skip subdomain redirect for Netlify and GitHub Pages URLs
Netlify preview URLs (e.g., pr-95--openscan.netlify.app) were being
incorrectly parsed as having invalid subdomains, causing redirects
to netlify.app. Added early returns to skip subdomain processing
for .netlify.app and .github.io domains.1 parent f67ea69 commit ecb02cf
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
10 | 21 | | |
11 | 22 | | |
12 | 23 | | |
| |||
0 commit comments