16 lines
328 B
Python
16 lines
328 B
Python
from __future__ import annotations
|
|
|
|
from app.main import app
|
|
from app.core_settings import get_settings
|
|
|
|
|
|
if __name__ == "__main__":
|
|
settings = get_settings()
|
|
app.run(
|
|
host=settings.host,
|
|
port=settings.port,
|
|
debug=settings.debug,
|
|
use_reloader=settings.debug,
|
|
threaded=True,
|
|
)
|