diff --git a/static/js/upload.js b/static/js/upload.js
index 01a8a8b..5868fcd 100644
--- a/static/js/upload.js
+++ b/static/js/upload.js
@@ -32,7 +32,7 @@ $(document).ready(function() {
$('#status').html('
uploading
');
ChunkUploader({
file: file,
- url: '/add',
+ url: UPLOAD_URL,
data: {
'firefogg': 1,
'name': file.name
diff --git a/templates/index.html b/templates/index.html
index bf9848c..d38acb9 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -2,6 +2,9 @@
videopdf
+