Skip to content

Commit

Permalink
use memory history routing to prevent user loading into a sub page wi…
Browse files Browse the repository at this point in the history
…thout global state or connection existing yet
  • Loading branch information
liamcottle committed Nov 19, 2024
1 parent 1133e6c commit d30b72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createApp } from 'vue';
import { createRouter, createWebHashHistory } from 'vue-router';
import { createRouter, createMemoryHistory } from 'vue-router';
import vClickOutside from "click-outside-vue3";
import "./style.css";

Expand All @@ -8,7 +8,7 @@ import GlobalState from "./js/GlobalState.js";
import {BleConnection, SerialConnection} from "@meshtastic/js";

const router = createRouter({
history: createWebHashHistory(),
history: createMemoryHistory(),
routes: [
{
name: "main",
Expand Down

0 comments on commit d30b72b

Please sign in to comment.