mirror of
https://github.com/hackspace-marburg/flaggenschnapp.git
synced 2025-12-24 17:31:02 +01:00
18 lines
233 B
Python
18 lines
233 B
Python
import uvicorn
|
|
|
|
from api import API
|
|
import config
|
|
|
|
|
|
def main():
|
|
uvicorn.run(
|
|
app=API(),
|
|
host=config.HOST,
|
|
port=config.PORT,
|
|
log_level=config.LOG_LEVEL
|
|
)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|