Update app.py
Browse files
app.py
CHANGED
@@ -161,6 +161,9 @@ async def health_check():
|
|
161 |
"""Health check endpoint."""
|
162 |
return {"status": "healthy", "message": "Service is running"}
|
163 |
|
|
|
|
|
|
|
164 |
|
165 |
if __name__ == "__main__":
|
166 |
import uvicorn
|
|
|
161 |
"""Health check endpoint."""
|
162 |
return {"status": "healthy", "message": "Service is running"}
|
163 |
|
164 |
+
# Mount the static files directory
|
165 |
+
app.mount("/file", StaticFiles(directory=global_download_dir), name="downloads")
|
166 |
+
|
167 |
|
168 |
if __name__ == "__main__":
|
169 |
import uvicorn
|