Discover and initialize apps under web_root.
Engine-internal — not for sandboxed app require.
Per-app failures (invalid app.json, init errors) are logged and skipped so the
server can still start with remaining apps.
- Description:
- Discover and initialize apps under web_root. Engine-internal — not for sandboxed app require. Per-app failures (invalid app.json, init errors) are logged and skipped so the server can still start with remaining apps.
Methods
(async, inner) initializeApps(config, logger, webPath) → {Promise.<object>}
- Description:
- Scan webPath for apps with box/app.json and initialize each. Signature unchanged from legacy root gingee.js export.
Parameters:
| Name | Type | Description |
|---|---|---|
config |
object | resolved server config |
logger |
object | winston-style logger |
webPath |
string | absolute web root |
Returns:
apps map
- Type
- Promise.<object>