update add_video route and change queue method
All checks were successful
Build Docker Image / build (push) Successful in 14m39s

- change add to queue method from `GET` on `/` to `POST` on `/queue`
- update `/add_video` route to accept single video url
This commit is contained in:
2025-02-25 02:02:54 -08:00
parent b7aa64935f
commit ce605006f5
5 changed files with 219 additions and 27 deletions

View File

@@ -23,4 +23,4 @@ EXPOSE "${PORT_NUMBER}"
RUN pip3 install --no-cache-dir -r requirements.txt
# Run server.py when the container launches
CMD gunicorn --bind "${LISTEN_ADDRESS}":"${LISTEN_PORT}" run:app
CMD gunicorn --bind ${LISTEN_ADDRESS}:${LISTEN_PORT} run:app