config/app-config.json
A number of parameters may be modified in the ./config/app-config.json file. Changing some of them could
cause your application to stop working if they are not coordinated with application code changes.
debugMode
Set this value to true to enable debug mode: some log messages will be visible, network calls with be logged,
and Browser (renderer) windows will be opened in developer/debug mode.
webapp
These keys describe some critical operating parameters like the localhost port. Most of the filenames and paths are
shared information between the main process and renderer. "persistentUser" enables the renderer (Browser) process
to securely store a token that persists the firebase user identity between sessions, which makes sense for an app
that stays resident on a private computer. If your app is intended to be used in a public or shared context, you may
want to set "persistentUser" to false which will force a login every time the app is started.
webFolders
Electron-Firebase operates a TLS web server within the Main node.js process that hosts APIs that the Browser
can access. This is "static" web content, meaning that referencing one of these pages will not run a dynamic
script on the web server.
apis
These entries are localhost URLs that the Browser uses to make API requests to the Main process. You shouldn't
modify these, but it's a way to keep consistent API definitions between the Browser and Main processes. You can
use this mechanism if you would like to add custom Main process apis that can be accessed by the Browser, or in fact
by any other application with access to localhost.
logout
There are really two levels of sign-in and two levels of sign-out - the Firebase application, and the identity
provider. The Firebase signout process does not handle the identity provider level, so these URLs are provided
as a way to perform a "deep logout".