Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -10,8 +10,6 @@ class BlockFileRedirectMiddleware(BaseHTTPMiddleware):
|
|
10 |
def __init__(self, app: ASGIApp):
|
11 |
super().__init__(app)
|
12 |
|
13 |
-
|
14 |
-
|
15 |
async def dispatch(self, request, call_next):
|
16 |
# URL decode the path first
|
17 |
path = urllib.parse.unquote(request.url.path)
|
|
|
10 |
def __init__(self, app: ASGIApp):
|
11 |
super().__init__(app)
|
12 |
|
|
|
|
|
13 |
async def dispatch(self, request, call_next):
|
14 |
# URL decode the path first
|
15 |
path = urllib.parse.unquote(request.url.path)
|