Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def upload_file():
|
|
82 |
@app.route('/files/serve/<path:folder1>/<path:folder2>/<path:folder3>/<filename>')
|
83 |
def serve_restricted_file(folder1, folder2, folder3, filename):
|
84 |
# Full path mapping from route
|
85 |
-
archive_url = f'https://archive.org/download/
|
86 |
|
87 |
# Only allow from specific domains
|
88 |
allowed_origins = ['https://gcx.co.in', 'https://gcx-admin.vercel.app']
|
|
|
82 |
@app.route('/files/serve/<path:folder1>/<path:folder2>/<path:folder3>/<filename>')
|
83 |
def serve_restricted_file(folder1, folder2, folder3, filename):
|
84 |
# Full path mapping from route
|
85 |
+
archive_url = f'https://archive.org/download/VELTRIX_DB/{filename}'
|
86 |
|
87 |
# Only allow from specific domains
|
88 |
allowed_origins = ['https://gcx.co.in', 'https://gcx-admin.vercel.app']
|