You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wouldn't be great to test your application in a more "real-world environment" like a public, remote, address instead of localhost?
There are plenty of third-party tools offering such a feature, but in my opinion, the ngrok one is the best among them. It's popular and tested for years, like Iris, in fact, it has 700 stars more than Iris itself! Great job @inconshreveable!
Iris has a ngrok migration feature. Follow the steps below to make your local Iris web server a public one.
Go head and download ngrok, add it to your $PATH environment variable,
Simply pass the iris.WithTunneling configurator in your app.Run,
You are ready to GO!
It doesn't matter if ngrok is already running or not, Iris framework is smart enough to use ngrok's web API to create a tunnel.
ctx.Application().ConfigurationReadOnly().GetVHost() returns the public domain value. Rarely useful but it's there for you. Most of the times you use relative url paths instead of absolute(or you should to).
Wouldn't be great to test your application in a more "real-world environment" like a public, remote, address instead of localhost?
There are plenty of third-party tools offering such a feature, but in my opinion, the ngrok one is the best among them. It's popular and tested for years, like Iris, in fact, it has 700 stars more than Iris itself! Great job @inconshreveable!
Iris has a ngrok migration feature. Follow the steps below to make your local Iris web server a public one.
iris.WithTunneling
configurator in yourapp.Run
,Full
Tunneling
configurationctx.Application().ConfigurationReadOnly().GetVHost()
returns the public domain value. Rarely useful but it's there for you. Most of the times you use relative url paths instead of absolute(or you should to).v11.2.0 PR: #1175
The text was updated successfully, but these errors were encountered: