Johannes Zellner %!s(int64=11) %!d(string=hai) anos
pai
achega
549c6d183a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 () {
 ThingsApi.prototype.export = function () {
-    window.location.href = this._server + '/api/export';
+    window.location.href = url('/api/export');
 };
 };
 
 
 function SettingsApi() {
 function SettingsApi() {