mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-26 18:56:35 +00:00
Bind to 127.0.0.1 instead of 0.0.0.0
This commit is contained in:
parent
4f2332f8a0
commit
32278e9063
|
@ -53,4 +53,6 @@ async def startup():
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("selfprivacy_api.app:app", host="0.0.0.0", port=5050, log_level="info")
|
||||
uvicorn.run(
|
||||
"selfprivacy_api.app:app", host="127.0.0.1", port=5050, log_level="info"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue