mirror of
https://github.com/Zetaphor/browser-recall.git
synced 2025-12-06 10:29:38 +00:00
Initial commit
This commit is contained in:
15
main.py
Normal file
15
main.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import uvicorn
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Add the app directory to the Python path
|
||||
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Run the FastAPI application using uvicorn
|
||||
uvicorn.run(
|
||||
"app.main:app",
|
||||
host="0.0.0.0", # Allows external access
|
||||
port=8523,
|
||||
reload=True # Enable auto-reload during development
|
||||
)
|
||||
Reference in New Issue
Block a user