Merge changes

This commit is contained in:
Matthew Raymer
2025-02-03 13:27:36 +00:00
24 changed files with 28864 additions and 27541 deletions

View File

@@ -262,6 +262,11 @@ const routes: Array<RouteRecordRaw> = [
name: "test",
component: () => import("../views/TestView.vue"),
},
{
path: "/userProfile/:id?",
name: "userProfile",
component: () => import("../views/UserProfileView.vue"),
},
];
const isElectron = window.location.protocol === "file:"; // Check if running in Electron
@@ -292,9 +297,7 @@ const errorHandler = (
) => {
// Handle the error here
console.error("Caught in top level error handler:", error, to, from);
alert(
"Something is very wrong. We'd love if you contacted us and let us know how you got here. Thank you!",
);
alert("Something is very wrong. Try reloading or restarting the app.");
// You can also perform additional actions, such as displaying an error message or redirecting the user to a specific page
};