jn-jairo / laravel-ngrok

Share Laravel application with ngrok.
MIT License
89 stars 12 forks source link

Support for new ngrok domains #12

Closed jonaszkadziela closed 1 year ago

jonaszkadziela commented 1 year ago

Is your feature request related to a problem? Please describe. In this blog post from the 6th of April 2023, the Ngrok team announced that they will be rolling out new domains. Technically, the ngrok.io base domain is still available for old accounts, but not for free tier users as far as I can see.

Applications of free users will be served from these domains:

While applications of paid users will be served from these:

Describe the solution you'd like I think the way of determining ngrok host in NgrokServiceProvider needs to be changed. Probably other parts of the codebase will also need to be adjusted.

Describe alternatives you've considered I tried to force ngrok.io domain using --hostname option, but this feature is only available for paid users.

Additional context New domain

Custom hostname not allowed

jn-jairo commented 1 year ago

New domains added, please update to the new release v3.0.1.