upload prefix

This commit is contained in:
j 2013-02-13 08:14:57 +01:00
parent 617bbe4d93
commit 4696b51651
2 changed files with 4 additions and 1 deletions

View file

@ -32,7 +32,7 @@ $(document).ready(function() {
$('#status').html('<div id="progress" style="background-color: #666;height:20px;width:0%" /><div id="progressstatus" style="background-color: #fff;">uploading</div>');
ChunkUploader({
file: file,
url: '/add',
url: UPLOAD_URL,
data: {
'firefogg': 1,
'name': file.name

View file

@ -2,6 +2,9 @@
<html>
<head>
<title>videopdf</title>
<script type="text/javascript">
var UPLOAD_URL = "{{PREFIX}}/add";
</script>
<script src="{{PREFIX}}/static/js/jquery.js" type="text/javascript"></script>
<script src="{{PREFIX}}/static/js/chunkupload.js" type="text/javascript"></script>
<script src="{{PREFIX}}/static/js/upload.js?1" type="text/javascript"></script>