Johannes Zellner hace 11 años
padre
commit
549c6d183a
Se han modificado 1 ficheros con 1 adiciones y 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 () {
-    window.location.href = this._server + '/api/export';
+    window.location.href = url('/api/export');
 };
 
 function SettingsApi() {