diff options
Diffstat (limited to 'packages/frontend/src/pages/search.note.vue')
| -rw-r--r-- | packages/frontend/src/pages/search.note.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/pages/search.note.vue b/packages/frontend/src/pages/search.note.vue index ab36f2e6c5..cb6fc81f52 100644 --- a/packages/frontend/src/pages/search.note.vue +++ b/packages/frontend/src/pages/search.note.vue @@ -110,7 +110,7 @@ SPDX-License-Identifier: AGPL-3.0-only <script lang="ts" setup> import { computed, markRaw, ref, shallowRef, toRef } from 'vue'; -import { host as localHost } from '@@/js/config.js'; +import { webHost } from '@@/js/config.js'; import type * as Misskey from 'misskey-js'; import { $i } from '@/i.js'; import { i18n } from '@/i18n.js'; @@ -208,7 +208,7 @@ type SearchParams = { }; const fixHostIfLocal = (target: string | null | undefined) => { - if (!target || target === localHost) return '.'; + if (!target || target === webHost) return '.'; return target; }; |