Laravel Pusher uses old apikey only in aws -> how can I clear/ change it?

Discussão em 'Angular' iniciado por dash, Janeiro 29, 2025.

  1. dash

    dash Guest

    I have an angular & laravel app that uses pusher. I changed the apiKey, secret etc in the .env in laravel. It works well on local but when I try on AWS EC2 the credentials are still the old ones:

    $config = config('broadcasting.connections.pusher');
    dd($config) // gives old credentials only in staging/aws


    I tried all the clearing: cache:clear, route:clear, route:cache config:clear config:cache optimize, view:clear

    in the local and in the AWS-cli and it gave me the notification that everything was ok ('cleared!').

    Is there a way to clear or set the .env through the AWS dashboard?

    PS - the old credentials are no where to be found in the client & back side. Unless laravel itself is still storing the old credentials?

    Continue reading...

Compartilhe esta Página