TagSpaces is an offline, open source, document manager with tagging support
removing hardcoded ip
Ilianffa7f632dd87
diff --git a/data/web/web.api.js b/data/web/web.api.jsindex 472877660..63e8c2618 100644--- a/data/web/web.api.js+++ b/data/web/web.api.js@@ -16,7 +16,8 @@ define(function(require, exports, module) {function connectDav() {console.log("Connecting webdav...");- davClient = new nl.sara.webdav.Client("127.0.0.1");+ // TODO handle port and https+ davClient = new nl.sara.webdav.Client(location.host);}window.setTimeout(connectDav(), 2000);