diff --git a/handler/main.py b/handler/main.py index 14f41c0..865f881 100644 --- a/handler/main.py +++ b/handler/main.py @@ -14,6 +14,7 @@ sys.path.append(script_path) +from lib import msgs from dblib import get_db_cursor_and_connection from store import SELF_URL, BASE_PATH @@ -97,3 +98,8 @@ async def home_api(): return {"message": "Hello World"} + +@app.get("/trail-messages") +async def get_stopwords(): + return msgs + diff --git a/handler/routers/misc_router.py b/handler/routers/misc_router.py deleted file mode 100644 index 38370b5..0000000 --- a/handler/routers/misc_router.py +++ /dev/null @@ -1,6 +0,0 @@ - - - -@app.get("/trail-messages") -async def get_stopwords(): - return msgs