mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-10-24 17:14:40 +00:00
- Refactor SUBController subs and subJsons methods to extract host from X-Forwarded-Host header, falling back to X-Real-IP header and then to the request host if unavailable. - Update html function to extract host from X-Forwarded-Host header, falling back to X-Real-IP header and then to the request host if unavailable. - Update DomainValidatorMiddleware to first attempt to extract host from X-Forwarded-Host header, falling back to X-Real-IP header and then to the request host. Fixes: #2284 Signed-off-by: Ahmad Thoriq Najahi <najahi@zephyrus.id> |
||
|---|---|---|
| .. | ||
| default.json | ||
| sub.go | ||
| subController.go | ||
| subJsonService.go | ||
| subService.go | ||