Correct unpkg url
This commit is contained in:
parent
cdf85472c9
commit
f47896d5d4
2 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue