Add reloading, change port and move Uploads folder
This commit is contained in:
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user