feat: support both JSON and form-urlencoded body; change default port to 3333

This commit is contained in:
TTS Service
2026-03-27 13:52:11 +08:00
parent 6c5caa308d
commit 4b5797575d
4 changed files with 32 additions and 22 deletions

View File

@@ -12,6 +12,6 @@ COPY app/ .
RUN mkdir -p /app/data /app/audio
EXPOSE 17200
EXPOSE 3333
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "17200"]
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "3333"]