Make URL detection more robust

This commit is contained in:
Luke Murphy 2019-12-21 16:28:35 +07:00
parent 8907526f82
commit 5e9744d8f3
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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;