diff --git a/docker-compose.yml b/docker-compose.yml index 7251ab2..9062006 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -175,7 +175,7 @@ services: POCKETBASE_URL: "http://pocketbase:8090" POCKETBASE_ADMIN_EMAIL: "${POCKETBASE_ADMIN_EMAIL:-admin@libnovel.local}" POCKETBASE_ADMIN_PASSWORD: "${POCKETBASE_ADMIN_PASSWORD:-changeme123}" - MINIO_PUBLIC_ENDPOINT: "${MINIO_PUBLIC_ENDPOINT:-http://localhost:9000}" + PUBLIC_MINIO_PUBLIC_URL: "${MINIO_PUBLIC_ENDPOINT:-http://localhost:9000}" ports: - "${UI_PORT:-5252}:3000" healthcheck: diff --git a/scraper/internal/server/server.go b/scraper/internal/server/server.go index c466c77..946b804 100644 --- a/scraper/internal/server/server.go +++ b/scraper/internal/server/server.go @@ -425,9 +425,12 @@ func (s *Server) handleChapterText(w http.ResponseWriter, r *http.Request) { // It calls Kokoro's POST /v1/audio/speech with return_download_link=true. // Kokoro generates the audio, saves it to its own temp storage, and returns // the download filename in the X-Download-Path response header. -// We cache that filename (in memory, keyed by slug/chapter/voice/speed) and +// We cache that filename (in memory, keyed by slug/chapter/voice) and // return a proxy URL that the browser sets as audio.src. // +// TTS is always generated at speed 1.0; playback speed is controlled +// client-side via the