From 830fb55352f8d1ca91b68645cdd3af48d0b79927 Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Sat, 7 Sep 2024 22:30:31 +0200 Subject: [PATCH] add startup script (to make it runnable with `python3 -m`) --- py_dynmap_honeypot/__main__.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 py_dynmap_honeypot/__main__.py diff --git a/py_dynmap_honeypot/__main__.py b/py_dynmap_honeypot/__main__.py new file mode 100644 index 0000000..a0f6063 --- /dev/null +++ b/py_dynmap_honeypot/__main__.py @@ -0,0 +1,4 @@ +import uvicorn + +if __name__ == "__main__": + uvicorn.run("main:app", port=6872, log_level="info")