diff --git a/vocoder/static/vocoder.js b/vocoder/static/vocoder.js index 0d0fa37..68d56c6 100644 --- a/vocoder/static/vocoder.js +++ b/vocoder/static/vocoder.js @@ -4,7 +4,7 @@ // Vocoder front-end Javascript // -var archiveUrl = "http://localhost:5000/add-to-archive"; +var archiveUrl = window.location + "add-to-archive"; var canvasColour = "white"; var canvasHeight = 400; var canvasWidth = 800;