laravel-echo-server
laravel-echo-server copied to clipboard
Environment Varibles in laravel-echo-server.json
Are we able to say merge config variables or use something like this in order to be able to use process.env in the config file, such as this? https://stackoverflow.com/questions/36962601/node-js-how-to-use-environment-variables-in-json-file
Hi @Dolaned, this might be a late response, anyway, What you're looking for is most likely the following topic in the README: https://github.com/tlaverdure/laravel-echo-server#dotenv
If a .env
file is found in the same directory as the laravel-echo-server.json
file, particular options can be overridden, for more info check the documentation.