mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 10:03:40 -05:00
use uvicorn directly, fix f-string error
This commit is contained in:
parent
743692cac9
commit
5b17a6aef5
2 changed files with 2 additions and 2 deletions
|
|
@ -20,4 +20,4 @@ RUN prisma generate
|
||||||
|
|
||||||
COPY main.py .
|
COPY main.py .
|
||||||
|
|
||||||
CMD [ "fastapi", "run", "main.py" ]
|
CMD [ "uvicorn", "main:api", "--log-level", "warning", "--workers", "4", "--host", "0.0.0.0", "--port", "8000" ]
|
||||||
|
|
|
||||||
|
|
@ -275,7 +275,7 @@ async def github_callback(request: Request):
|
||||||
"type": "section",
|
"type": "section",
|
||||||
"text": {
|
"text": {
|
||||||
"type": "mrkdwn",
|
"type": "mrkdwn",
|
||||||
"text": f"{'\n'.join([recording + ' for ' + str(get_recording_duration(recording, user_stream_key)) + 'minutes' for recording in stream_recs])}", # type: ignore
|
"text": '\n'.join([recording + ' for ' + str(get_recording_duration(recording, user_stream_key)) + 'minutes' for recording in stream_recs]), # type: ignore
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue