From 2e08a0259aa5f47f9563602fb2729a4b8f3f53b7 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Sat, 14 Sep 2024 13:03:45 +0800 Subject: [PATCH] 'update --- androidh5api.sh | 1 + run.py | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 androidh5api.sh create mode 100644 run.py diff --git a/androidh5api.sh b/androidh5api.sh new file mode 100644 index 0000000..64d2ef0 --- /dev/null +++ b/androidh5api.sh @@ -0,0 +1 @@ +python3 run.py \ No newline at end of file diff --git a/run.py b/run.py new file mode 100644 index 0000000..dd31e82 --- /dev/null +++ b/run.py @@ -0,0 +1,6 @@ +import uvicorn + +if __name__ == "__main__": + # uvicorn.run("app.main:app", host="0.0.0.0", port=8700, reload=True) + uvicorn.run("app.main:app", host="127.0.0.1", port=8700, reload=True) +