radames's picture
args: add ssl certfile and keyfile
31dbff3
raw
history blame
271 Bytes
if __name__ == "__main__":
import uvicorn
from config import args
uvicorn.run(
"app:app",
host=args.host,
port=args.port,
reload=args.reload,
ssl_certfile=args.ssl_certfile,
ssl_keyfile=args.ssl_keyfile,
)