Correct unpkg url

This commit is contained in:
Paulus Schoutsen 2021-06-04 00:22:00 -07:00
parent cdf85472c9
commit f47896d5d4
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@
// In development we import locally.
window.location.hostname === "localhost"
? "/dist/web/index.js"
: "https://unpkg.com/nabucasa-webserial-esptool@1.0.0/dist/web/index.js?module"
: "https://unpkg.com/esp-web-flasher@1.0.0/dist/web/index.js?module"
);
</script>
<script src="js/script.js" module defer></script>

View file

@ -413,7 +413,7 @@ function toggleUIConnected(connected) {
function loadAllSettings() {
// Load all saved settings or defaults
autoscroll.checked = loadSetting("autoscroll", true);
baudRate.value = loadSetting("baudrate", 921600);
baudRate.value = loadSetting("baudrate", 115200);
darkMode.checked = loadSetting("darkmode", false);
}