浏览代码

Fix new manifest location (#367)

Jonathas Barbosa 2 年之前
父节点
当前提交
5390216549
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      index.html

+ 2 - 2
index.html

@@ -171,7 +171,7 @@
         <a href="https://esphome.io">ESPHome</a>. To get started, connect an ESP
         <a href="https://esphome.io">ESPHome</a>. To get started, connect an ESP
         device to your computer and hit the button:
         device to your computer and hit the button:
       </p>
       </p>
-      <esp-web-install-button manifest="static/firmware_build/manifest.json">
+      <esp-web-install-button manifest="https://firmware.esphome.io/esphome-web/manifest.json">
         <i slot="unsupported">
         <i slot="unsupported">
           The demo is not available because your browser does not support Web
           The demo is not available because your browser does not support Web
           Serial. Open this page in Google Chrome or Microsoft Edge instead<span
           Serial. Open this page in Google Chrome or Microsoft Edge instead<span
@@ -528,7 +528,7 @@ button.overrides = {
       </p>
       </p>
       <pre>
       <pre>
 &lt;esp-web-install-button
 &lt;esp-web-install-button
-  manifest="/static/firmware_build/manifest.json"
+  manifest="https://firmware.esphome.io/esphome-web/manifest.json"
 >
 >
   &lt;button slot="activate">Custom install button&lt;/button>
   &lt;button slot="activate">Custom install button&lt;/button>
   &lt;span slot="unsupported">Ah snap, your browser doesn't work!&lt;/span>
   &lt;span slot="unsupported">Ah snap, your browser doesn't work!&lt;/span>