diff --git a/main.py b/main.py index 0db382c..9c12b08 100644 --- a/main.py +++ b/main.py @@ -36,4 +36,8 @@ async def slug_only(slug: str): if slug == "favicon.ico": return HTTPException(404) else: - return RedirectResponse(urls["public"][slug]) \ No newline at end of file + return RedirectResponse(urls["public"][slug]) + +if __name__ == "__main__": + import uvicorn + uvicorn.run(app) \ No newline at end of file