Browse Source

refactor: disable https on connect page

pull/706/head
Dan Ditomaso 1 year ago
parent
commit
88e5ab27b7
  1. 4
      packages/web/src/components/PageComponents/Connect/HTTP.tsx

4
packages/web/src/components/PageComponents/Connect/HTTP.tsx

@ -26,7 +26,7 @@ export const HTTP = (
) => {
const { t } = useTranslation("dialog");
const [connectionInProgress, setConnectionInProgress] = useState(false);
const isURLHTTPS = location.protocol === "https:";
// const isURLHTTPS = location.protocol === "https:";
const { addDevice } = useDeviceStore();
const messageStore = useMessageStore();
@ -39,7 +39,7 @@ export const HTTP = (
)
? "meshtastic.local"
: globalThis.location.host,
tls: isURLHTTPS ? true : false,
tls: false,
},
});

Loading…
Cancel
Save