Answer the question
In order to leave comments, you need to log in
Why doesn't laravel 5.8 .env file work?
Good night ..
Some kind of nonsense, I lost a lot of time again.
Standard "config" out of the box. Everything is written in .env. Cleaned configs/caches.
window.Echo = new Echo({
broadcaster: 'pusher',
key: process.env.MIX_PUSHER_APP_KEY,
cluster: process.env.MIX_PUSHER_APP_CLUSTER,
encrypted: true
});
PUSHER_APP_ID=293713
PUSHER_APP_KEY=e630c1583049e27a757e
PUSHER_APP_SECRET=54b6ca39d992vb763b27
PUSHER_APP_CLUSTER=eu
Answer the question
In order to leave comments, you need to log in
Indeed, some nonsense. There is no process.env on the CLIENT, and indeed no variables located on a secure server ... strange, you can’t say anything.
PS: if anything, then this is sarcasm. If not, go back to the client-server device.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question