mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 08:04:52 +01:00
fix uri path
This commit is contained in:
@@ -50,6 +50,7 @@ impl HttpHandler for ProxyHandler {
|
|||||||
mut request: Request<Body>,
|
mut request: Request<Body>,
|
||||||
) -> RequestOrResponse {
|
) -> RequestOrResponse {
|
||||||
let uri = request.uri().to_string();
|
let uri = request.uri().to_string();
|
||||||
|
let uri_path = request.uri().path();
|
||||||
|
|
||||||
if uri.contains("hoyoverse.com") || uri.contains("mihoyo.com") || uri.contains("yuanshen.com") {
|
if uri.contains("hoyoverse.com") || uri.contains("mihoyo.com") || uri.contains("yuanshen.com") {
|
||||||
// Create new URI.
|
// Create new URI.
|
||||||
|
|||||||
Reference in New Issue
Block a user