тест2
This commit is contained in:
5
app.py
5
app.py
@@ -110,9 +110,10 @@ from services.vmix_json_service import (
|
|||||||
get_vmix_players_goal,
|
get_vmix_players_goal,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
BASE_DIR = Path(__file__).resolve().parent
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
templates = Jinja2Templates(directory="templates")
|
templates = Jinja2Templates(directory=str(BASE_DIR / "templates"))
|
||||||
app.mount("/static", StaticFiles(directory="static"), name="static")
|
app.mount("/static", StaticFiles(directory=str(BASE_DIR / "static")), name="static")
|
||||||
|
|
||||||
class PublishVmixCommandPayload(BaseModel):
|
class PublishVmixCommandPayload(BaseModel):
|
||||||
match_id: int
|
match_id: int
|
||||||
|
|||||||
Reference in New Issue
Block a user