]> git.sesse.net Git - pr0n/blobdiff - templates/default/upload
Kill WebDAV entirely; now only the PUT and OPTIONS are left.
[pr0n] / templates / default / upload
index 5d4b375f91ecc2e607137d6cf6206a569052a16d..33745658cd2ae1cf9522a65d0a9d53477d39fdd2 100644 (file)
@@ -39,7 +39,7 @@ document.getElementById('upload').addEventListener('click', function() {
 
 var upload = function(files, file_index) {
        var file = files[file_index];
-       var url = window.location.origin + '/webdav/upload/%EVENT%/';
+       var url = window.location.origin + '/upload/%EVENT%/';
        if (document.getElementById('autorename').checked) {
                url += 'autorename/';
        }