I am using .yml files in my next.js because of docker and using these .yml configurations in next.js runtimeConfig. These configs can be seen in browser network tab as these are attached with document response.
I know about the serverSideConfigs but some of the configurations needs to be used on front-end so I can't put them in serverSideConfig.
Is there any way I can hide these runtimeConfigs in network calls response?
You can put all sensitive information in serverRuntimeConfig instead of publicRuntimeConfig in next.config.js