From 4696b51651fc782cbb3c19c27c56274cbd406c52 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 13 Feb 2013 08:14:57 +0100 Subject: [PATCH] upload prefix --- static/js/upload.js | 2 +- templates/index.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 +