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> </style>
<script <script
type="module" 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>
<script module> <script module>
import( import(
// In development we import locally. // In development we import locally.
window.location.hostname === "localhost" window.location.hostname === "localhost"
? "/dist/web/install-button.js" ? "/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> </script>
</head> </head>
@ -324,7 +324,7 @@
<pre> <pre>
&lt;script &lt;script
type="module" 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 >&lt;/script></pre
> >
<p> <p>