使用ngrok旁载应用程序无法正常工作

Repro步骤…

  1. 我通过团队yeoman生成器 (通过npm安装)创build了一个团队选项卡应用程序。
  2. 我遵循使用ngrok的本地托pipe选项。
  3. 我用./ngrok http 3007 --host-header=localhost:3007 (仍在运行)启动ngrok, ./ngrok http 3007 --host-header=localhost:3007生成的url复制/粘贴到我的manifest.json
  4. 我开始了另一个terminal会议,跑了一大gulp serve
  5. 我通过gulp manifest创build了我的包
  6. 我试图sideload生成的zip并获取错误消息: Error while reading manifest.json: Failed to find icon "https://xxxxxxxx.ngrok.io/assets/tab-44.png" file in the package Failed to find icon "https://xxxxxxxx.ngrok.io/assets/tab-88.png" file in the package (子域编辑)

这是我已经确认/debugging…

  1. https://xxxxxxxx.ngrok.io/assets/tab-44.pnghttps://xxxxxxxx.ngrok.io/assets/tab-88.png在浏览器中工作正常。 我看到默认的笑脸图标,并在ngrokterminal和Web界面中查看请求。
  2. 我看不到任何来自试图在ngrok界面中获取图标的请求。
  3. 我也testing过,我可以从手机上看到图标。
  4. 我已经解压缩生成的包,它只包含manifest.json与正确的ngrokurl。
  5. 我的客户启用了侧边加载应用程序。
  6. 我是团队的所有者,我试图把这个应用程序转化为。

有任何想法吗? 谢谢!

大纲颜色是相对于PNG图标的文件path。 请将这两个图标(tab-44.png&tab-88.png)与manifest.json文件一起作为包的一部分。