From 0ea4abca33363f0bbdffa181b60beefc247774fa Mon Sep 17 00:00:00 2001 From: Parker Date: Sun, 25 Feb 2024 02:15:31 -0600 Subject: Creation --- app/linklogger.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/linklogger.py (limited to 'app/linklogger.py') diff --git a/app/linklogger.py b/app/linklogger.py new file mode 100644 index 0000000..035835e --- /dev/null +++ b/app/linklogger.py @@ -0,0 +1,11 @@ +from routes import app +from db import init_db +from hypercorn.config import Config +from hypercorn.asyncio import serve +import asyncio + +if __name__ == '__main__': + init_db() + config = Config() + config.bind =["0.0.0.0:5252"] + asyncio.run(serve(app, config)) \ No newline at end of file -- cgit v1.2.3-70-g09d2