Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The dynamic configuration file is not working at all #224

Open
rosdec opened this issue Sep 6, 2022 · 1 comment
Open

The dynamic configuration file is not working at all #224

rosdec opened this issue Sep 6, 2022 · 1 comment

Comments

@rosdec
Copy link

rosdec commented Sep 6, 2022

Dear all,
it seems that the mechanism of dynamic loading the configuration file is broken.

To reproduce this (tried on Windows and Linux with node v16) just clone the repo and rename config-sample.json to config.json to have a working web app while doing the same with config-sample.js (renamed to config.js) the web app is stuck on "Could not find config file.".

I've started the app with npm run start (so not the npm run build that relies on the build/static/js directory).

Any help is appreciated.

@dsternlicht
Copy link
Owner

Hey @rosdec, have you moved the file to the public folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants