title: NGrok and Laravel
body: <p>I want to deploy my local larvel website online with NGROK.
  I'm using Laragon with Apache server, I use this command :</p>
  
  <pre><code>ngrok http -host-header=rewrite site.dev:80
  </code></pre>
  
  <p>It almost work, but the asset file (like CSS/Image) are still link to my local server (site.dev). And it's the same for my link, the laravel routing command :
  <code>{{ route('ngo') }}</code> return site.dev/ngo instead of my online tunnel (<a href="http://number.ngrok.io/ngo" rel="noreferrer">http://number.ngrok.io/ngo</a>)</p>
  
  <p>I've try to :</p>
  
  <p>Edit the http.conf (<a href="https://forum.laragon.org/topic/88/allow-outside-other-devices-phones-tablets-to-access-your-local-server-using-ngrok" rel="noreferrer">https://forum.laragon.org/topic/88/allow-outside-other-devices-phones-tablets-to-access-your-local-server-using-ngrok</a>)</p>
  
  <p>Change my Laravel App url in config/app.php</p>
  
  <p>Change my url in .env file</p>
  
  <p>Nothings work </p>