Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,13 +27,6 @@ app_.add_middleware(
|
|
| 27 |
# Initialize Jinja2Templates for HTML rendering
|
| 28 |
templates = Jinja2Templates(directory="templates")
|
| 29 |
|
| 30 |
-
# Function to add CORS headers (no longer needed with middleware)
|
| 31 |
-
# def add_cors_headers(response: Response):
|
| 32 |
-
# response.headers['Access-Control-Allow-Origin'] = '*' # Allow all domains
|
| 33 |
-
# response.headers['Access-Control-Allow-Methods'] = 'GET, POST, OPTIONS' # Allowed methods
|
| 34 |
-
# response.headers['Access-Control-Allow-Headers'] = 'Content-Type' # Allowed headers
|
| 35 |
-
# return response
|
| 36 |
-
|
| 37 |
# Manifest data
|
| 38 |
MANIFEST = {
|
| 39 |
"id": "com.skyflix",
|
|
|
|
| 27 |
# Initialize Jinja2Templates for HTML rendering
|
| 28 |
templates = Jinja2Templates(directory="templates")
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
# Manifest data
|
| 31 |
MANIFEST = {
|
| 32 |
"id": "com.skyflix",
|