AppConfig¶
Application Configuration
Show current state of the app
Defined by the backend proxy worker
Property¶
isExpress: boolean¶
FLAG: Express
For browser check if it's connect to a express server
isElectron: boolean¶
FLAG: Electron
For browser check if it's use Electron desktop app currently
isAdmin: boolean¶
FLAG: Admin
If use express server, check user have root permission
haveBackend: boolean¶
FLAG: Backend
For browser check if it's connect to any server
If false, it means it's a static website
All the logic will run on browser
login:boolean¶
Login state
For express mode detect only
backendType: BackendType¶
Server Type
Detail check Here