oauth disabling API

This commit is contained in:
Jan Prochazka
2022-11-17 20:09:27 +01:00
parent 94a91d5fed
commit 07b2a3e923
4 changed files with 31 additions and 26 deletions

View File

@@ -5,12 +5,16 @@ import './commands/stdCommands';
import localStorageGarbageCollector from './utility/localStorageGarbageCollector';
import { handleOauthCallback } from './clientAuth';
const isOauthCallback = handleOauthCallback();
localStorageGarbageCollector();
const app = new App({
target: document.body,
props: {},
});
const app = isOauthCallback
? null
: new App({
target: document.body,
props: {},
});
// const app = null;