feat: Give more functionality to note menu

This commit is contained in:
Jesse Wierzbinski 2024-11-30 18:21:40 +01:00
parent 97566289cd
commit 49d356e2ab
No known key found for this signature in database
12 changed files with 95 additions and 35 deletions

8
utils/urls.ts Normal file
View file

@ -0,0 +1,8 @@
export const wrapUrl = (path: string) => {
return new URL(
path,
identity.value
? `https://${identity.value.instance.domain}`
: window.location.origin,
).toString();
};