feat: add https

This commit is contained in:
2026-05-28 23:36:21 +08:00
parent b5ab610893
commit d0103519d4
2 changed files with 8 additions and 2 deletions

View File

@@ -49,7 +49,13 @@ async def get_tools(
def main():
uvicorn.run("main:app", reload=True, port=3131)
uvicorn.run(
"main:app",
reload=True,
port=3131,
ssl_keyfile="certs/cert.key",
ssl_certfile="certs/fullchain.pem",
)
if __name__ == "__main__":