summaryrefslogtreecommitdiff
path: root/www/js/importer.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/importer.js')
-rw-r--r--www/js/importer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/importer.js b/www/js/importer.js
index 5d047ef..0753b5d 100644
--- a/www/js/importer.js
+++ b/www/js/importer.js
@@ -453,7 +453,7 @@ Rdxport.Upload.prototype.onmessage = function(event) {
error: function(req, status, err) { console.log({StatusText: status, ErrorString: err}); },
success: function(data, status, req) { console.log(data); }
};
- $.ajax('https://import.helsinki.at/upload/' + importer.username + '/' + data.ID, command);
+ $.ajax('https://' + window.location.host + '/upload/' + importer.username + '/' + data.ID, command);
}
this.isNew = true;
this.group.fetchCarts();