remove relative URL references in different target because mobile chokes

This commit is contained in:
2025-06-08 16:55:03 -06:00
parent 548adad1d0
commit f79568cc5d
9 changed files with 29 additions and 31 deletions

View File

@@ -211,7 +211,7 @@
<h2 class="text-xl font-semibold">How do I add someone else?</h2>
<p>
<a href="/help-onboarding" target="_blank" class="text-blue-500">
<a :href="APP_SERVER + '/help-onboarding'" target="_blank" class="text-blue-500">
Use these instructions.
</a>
To start scanning, go to the
@@ -579,7 +579,7 @@ import { useClipboard } from "@vueuse/core";
import * as Package from "../../package.json";
import QuickNav from "../components/QuickNav.vue";
import { NotificationIface, USE_DEXIE_DB } from "../constants/app";
import { APP_SERVER, NotificationIface, USE_DEXIE_DB } from "../constants/app";
import * as databaseUtil from "../db/databaseUtil";
import {
retrieveSettingsForActiveAccount,
@@ -601,6 +601,11 @@ export default class HelpView extends Vue {
showDidCopy = false;
showVerifiable = false;
APP_SERVER = APP_SERVER;
// Ideally, we put no functionality in here, especially in the setup,
// because we never want this page to have a chance of throwing an error.
// call fn, copy text to the clipboard, then redo fn after 2 seconds
doCopyTwoSecRedo(text: string, fn: () => void) {
fn();