Add reloading, change port and move Uploads folder

This commit is contained in:
2022-07-15 23:08:53 +02:00
parent 9b31f8e021
commit fad403b2c0

6
.vscode/launch.json vendored
View File

@ -9,10 +9,10 @@
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"module": "uvicorn", "module": "uvicorn",
"args": ["discord_embed.main:app"], "args": ["discord_embed.main:app", "--reload", "--port", "5000"],
"env": { "env": {
"DOMAIN": "http://127.0.0.1:8000/", "DOMAIN": "http://127.0.0.1:5000/",
"UPLOAD_FOLDER": "uploads" "UPLOAD_FOLDER": "./Uploads"
}, },
"jinja": true "jinja": true
} }