rhasspy / larynx

End to end text to speech system using gruut and onnx
MIT License
822 stars 48 forks source link

Changed path for API calls in index.html of server to use relative path #13

Closed fquirin closed 3 years ago

fquirin commented 3 years ago

The index.html (templates folder) of the server always calls web-root via /api/... this path will break (as it did for me) when you use a proxy to point at the Larynx server, e.g. http://raspberrypi.local/sepia/larynx/. I've changed the path to api/... and tested it for my Docker container. Note: this assumes that index.html is always served at the root path.

synesthesiam commented 3 years ago

Thanks!