【已解决】远程调用 ngrok 映射地址访问出错You are about to visit talented-poorly-boar.ngrok- free.app,served by 121.xx
·
通过 ngrok 开启映射本地地址,在本机上可以正常访问,而远程调用却访问不通,直接输入网站访问则会报错:You are about to visit talented-poorly-boar.ngrok- free.app,served by 121.xx.xx.xxx.This website is served for free through ngrok.com.You should only visit this website if you trust whoever sent the link to you.(ERR_NGROK 6024)。
我们可以通过一个插件 modHeader modify http header 配置一个全局浏览器的请求头来解决,如下:

然后调用,即可正常访问。
更多推荐



所有评论(0)