Update the docs to automatically use latest ESP Web Tools (#321)

This commit is contained in:
Paulus Schoutsen 2023-01-29 21:15:24 -05:00 committed by GitHub
parent ec93a0b15d
commit 53094e254e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,14 +131,14 @@
</style>
<script
type="module"
src="https://unpkg.com/@justinribeiro/lite-youtube@1.3.0/lite-youtube.js"
src="https://unpkg.com/@justinribeiro/lite-youtube@1.4.0/lite-youtube.js"
></script>
<script module>
import(
// In development we import locally.
window.location.hostname === "localhost"
? "/dist/web/install-button.js"
: "https://unpkg.com/esp-web-tools@9.2.0/dist/web/install-button.js?module"
: "https://unpkg.com/esp-web-tools/dist/web/install-button.js?module"
);
</script>
</head>
@ -324,7 +324,7 @@
<pre>
&lt;script
type="module"
src="https://unpkg.com/esp-web-tools@9.2.0/dist/web/install-button.js?module"
src="https://unpkg.com/esp-web-tools/dist/web/install-button.js?module"
>&lt;/script></pre
>
<p>