- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.py
More file actions
Latest commit
23 lines (19 loc) · 499 Bytes
/
Copy pathrun.py
File metadata and controls
23 lines (19 loc) · 499 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright: Wilde Consulting
License: Apache 2.0
VERSION INFO::
$Repo: fastapi_https
$Author: Anders Wiklund
$Date: 2024-03-18 15:47:18
$Rev: 4
"""
# Third party modules
importuvicorn
if__name__=="__main__":
uv_config= {'reload': True,
'app': 'src.main:app',
'ssl_keyfile': "certs/private-key.pem",
'ssl_certfile': "certs/public-cert.pem"}
uvicorn.run(**uv_config)