djmaze 2020-07-22 14:54:21 +02:00
parent a5d41edb24
commit 749f372042

View file

@ -1,5 +1,3 @@
import window from 'window';
import $ from '$';
import ko from 'ko'; import ko from 'ko';
import { settingsGet } from 'Storage/Settings'; import { settingsGet } from 'Storage/Settings';
import { AbstractAppStore } from 'Stores/AbstractApp'; import { AbstractAppStore } from 'Stores/AbstractApp';
@ -25,10 +23,11 @@ class AppAdminStore extends AbstractAppStore {
this.weakPassword(!!settingsGet('WeakPassword')); this.weakPassword(!!settingsGet('WeakPassword'));
this.useLocalProxyForExternalImages(!!settingsGet('UseLocalProxyForExternalImages')); this.useLocalProxyForExternalImages(!!settingsGet('UseLocalProxyForExternalImages'));
/*
if (settingsGet('Auth')) { if (settingsGet('Auth')) {
$.get('./data/VERSION?' + window.Math.random()).then(() => this.dataFolderAccess(true)); window.fetch('./data/VERSION?' + window.Math.random()).then(() => this.dataFolderAccess(true));
} }
*/
} }
} }