Make URL detection more robust
This commit is contained in:
parent
8907526f82
commit
5e9744d8f3
@ -4,7 +4,7 @@
|
|||||||
// Vocoder front-end Javascript
|
// Vocoder front-end Javascript
|
||||||
//
|
//
|
||||||
|
|
||||||
var archiveUrl = "http://localhost:5000/add-to-archive";
|
var archiveUrl = window.location + "add-to-archive";
|
||||||
var canvasColour = "white";
|
var canvasColour = "white";
|
||||||
var canvasHeight = 400;
|
var canvasHeight = 400;
|
||||||
var canvasWidth = 800;
|
var canvasWidth = 800;
|
||||||
|
Loading…
Reference in New Issue
Block a user