Johannes Zellner 11 лет назад
Родитель
Сommit
549c6d183a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      frontend/js/core.js

+ 1 - 1
frontend/js/core.js

@@ -125,7 +125,7 @@ ThingsApi.prototype.onDeleted = function (callback) {
 };
 
 ThingsApi.prototype.export = function () {
-    window.location.href = this._server + '/api/export';
+    window.location.href = url('/api/export');
 };
 
 function SettingsApi() {