Spaces:
Running
Running
deploy at 2024-08-25 07:53:24.005983
Browse files
main.py
CHANGED
@@ -198,7 +198,7 @@ middlewares = [
|
|
198 |
SessionMiddleware,
|
199 |
secret_key=SECRET_KEY,
|
200 |
max_age=3600,
|
201 |
-
same_site='
|
202 |
https_only=False, # Set to True if your site uses HTTPS
|
203 |
),
|
204 |
Middleware(AuthenticationMiddleware, backend=SimpleAuthBackend()),
|
|
|
198 |
SessionMiddleware,
|
199 |
secret_key=SECRET_KEY,
|
200 |
max_age=3600,
|
201 |
+
same_site='Lax', # Try 'Lax' if 'None' doesn't work
|
202 |
https_only=False, # Set to True if your site uses HTTPS
|
203 |
),
|
204 |
Middleware(AuthenticationMiddleware, backend=SimpleAuthBackend()),
|