将API键添加到ngrok.yml文件的命令不工作
此命令 ngrok config add-authtoken< api键>
对我不起作用。
如果您很难寻找解决方案,请尝试此代码 ngrok authtoken<您的api键>
,它将添加您的 ngrok api键到配置文件
ngrok.yml 〜/.ngrok2/ngrok..yml
注意:这有助于Windows机器
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
原因是不幸的是,
ngrok
没有版本的文档。如果您通过NGROK
通过Pyngrok
,您安装了V2 ,但是ngrok
的网站现在托管V3文档,因为它最近发布了。 The v2 command to install your auth token is:You can peruse the v2 docs
The reason for this is that, unfortunately,
ngrok
doesn't version its docs. If you installedngrok
throughpyngrok
, you installed v2, butngrok
's site now hosts v3 docs, as it came out recently. The v2 command to install your auth token is:You can peruse the v2 docs here.