Johannes Zellner 11 lat temu
rodzic
commit
549c6d183a
1 zmienionych plików z 1 dodań i 1 usunięć
  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() {