diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-03-02 16:05:12 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-03-02 17:39:38 -0500 |
| commit | 284b87dae85a356dd543a03f81d12031b11f7554 (patch) | |
| tree | 5df602a3d98fbf9a8f457fab3d749707bfd89cde /packages/frontend/src/ui/_common_/common.ts | |
| parent | merge: Release/2025.4.5 (!1258) (diff) | |
| download | sharkey-284b87dae85a356dd543a03f81d12031b11f7554.tar.gz sharkey-284b87dae85a356dd543a03f81d12031b11f7554.tar.bz2 sharkey-284b87dae85a356dd543a03f81d12031b11f7554.zip | |
split url into webUrl and localUrl (like mastodon)
Diffstat (limited to 'packages/frontend/src/ui/_common_/common.ts')
| -rw-r--r-- | packages/frontend/src/ui/_common_/common.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/ui/_common_/common.ts b/packages/frontend/src/ui/_common_/common.ts index fcb9f2acfc..11b7eb6c6d 100644 --- a/packages/frontend/src/ui/_common_/common.ts +++ b/packages/frontend/src/ui/_common_/common.ts @@ -7,7 +7,7 @@ import { defineAsyncComponent } from 'vue'; import type { MenuItem } from '@/types/menu.js'; import * as os from '@/os.js'; import { instance } from '@/instance.js'; -import { host } from '@@/js/config.js'; +import { webHost } from '@@/js/config.js'; import { i18n } from '@/i18n.js'; import { $i } from '@/i.js'; @@ -44,7 +44,7 @@ export function openInstanceMenu(ev: MouseEvent) { const menuItems: MenuItem[] = []; menuItems.push({ - text: instance.name ?? host, + text: instance.name ?? webHost, type: 'label', }, { type: 'link', |