main
Brett 2025-07-08 22:17:55 -04:00
parent d2bd5290ee
commit 0e2321952e
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ LOGGER = logging.getLogger("server")
async def index():
return await send_from_directory("static", "index.html")
@app.route("/news/")
async def index_root():
return await index()
@app.route("/news/index.html")
async def index_html():
return await index()