diff options
author | Christian Pointner <equinox@helsinki.at> | 2017-02-17 02:22:30 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2017-02-17 02:22:30 (GMT) |
commit | e3a0067426b0c9dae443c579f7baaef0ef3bdd96 (patch) | |
tree | f3e2d6c53ba2dce30b11447c67899915ab2fcee9 /www/js/importer.js | |
parent | 993df89c979d8da28f76395d4711a145a54c0b5c (diff) |
remove hardcoded url
Diffstat (limited to 'www/js/importer.js')
-rw-r--r-- | www/js/importer.js | 2 |
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(); |