This PR adds a mechanism to load config from /config.json on the server. This will allow keys and other environment specific configuration to form a part of the build and release process of the production application while still supporting the community to develop locally. If the file is missing it throws an error and halts the application bootstrap. This is visible in dev tools but could be improved if required.
Note that a config is required for local development and I have updated the readme with instructions.
This PR adds a mechanism to load config from
/config.json
on the server. This will allow keys and other environment specific configuration to form a part of the build and release process of the production application while still supporting the community to develop locally. If the file is missing it throws an error and halts the application bootstrap. This is visible in dev tools but could be improved if required.Note that a config is required for local development and I have updated the readme with instructions.