Browse Source

Make URL detection more robust

main
Luke Murphy 5 years ago
parent
commit
5e9744d8f3
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 2
      vocoder/static/vocoder.js

2
vocoder/static/vocoder.js

@ -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…
Cancel
Save