Moved SFW mode to server, added HTTP header trigger.

This commit is contained in:
2020-03-27 17:37:13 +01:00
parent fb59bf552a
commit 238ebcbf34
9 changed files with 48 additions and 63 deletions

View File

@@ -13,6 +13,10 @@ import Icon from '../components/icon/icon.vue';
function init() {
const store = initStore(router);
if (window.env.sfw) {
store.dispatch('setSfw', true);
}
Vue.mixin({
components: {
Icon,