我离开办公室时必须关掉电脑,然后我必须在第二天启动 Ngrok
。令人惊讶的是,Ngrok
给出的URL
与昨天给出的不同。因此,为了使用 Webhook Fulfillment
测试 Dialogflow
,我必须每天更改 URL
!那么如何避免这种情况呢?
最佳答案
提到了here您需要升级到付费计划才能拥有固定网址。
Getting a stable URL On the free plan, ngrok's URLs are randomly generated and temporary. If you want to use the same URL every time, you need to upgrade to a paid plan so that you can use the subdomain option for a stable URL with HTTP or TLS tunnels and the remote-addr option for a stable address with TCP tunnels.
关于dialogflow-es - Ngrok url 每天都在变化 我启动 Ngrok,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64058822/