#Get runtime config in static mode
15 messages · Page 1 of 1 (latest)
if you render static files, you have to "bake" the config in the files during runtime
So that means if you want to change, you have to rebuild
runtimeConfig needs a server to work "after starting" the app
Would it be possible to fetch the config from a runtime generated config file ?
like a config.js or config.json
or even from the server env
not out of the box, no
I mean, you can always to to fetch a config.json file e.g. and use the values from there
or add a script that does some things.
But that's userlands implementation
Ok thanks, is it something that I could try to implement and PR or is it not wanted?
I'd start creating an issue for it with some proposal & idea for implementation first 👍
Thank you very much, can you ping me on it ? @high kite on Github as well