mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-06-26 20:47:34 -05:00
Change header for browser check
This commit is contained in:
parent
33737819a5
commit
79d3942742
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ pub async fn request(req: HttpRequest, body: String) -> HttpResponse {
|
|||
if args.hidden && req.path().starts_with("/api/webui/") {
|
||||
return not_found(&headers);
|
||||
}
|
||||
if headers.get("a6573cbe").is_none() && req.path().starts_with("/api") {
|
||||
if headers.get("aoharu-asset-version").is_none() && req.path().starts_with("/api") {
|
||||
if args.hidden {
|
||||
return not_found(&headers);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue