laravel-echo-server icon indicating copy to clipboard operation
laravel-echo-server copied to clipboard

Environment Varibles in laravel-echo-server.json

Open Dolaned opened this issue 5 years ago • 1 comments

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

Dolaned avatar Nov 18 '19 00:11 Dolaned

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.

otanim avatar Feb 25 '21 23:02 otanim