shashwatIDR commited on
Commit
7569161
·
verified ·
1 Parent(s): 7d30bd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/{folder1}/{folder2}/{folder3}/{filename}'
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']