1
0

style: one and only for puyopuyotetr.is

This commit is contained in:
オスカー、 2024-08-29 22:14:55 +09:00
parent f605d96836
commit bb80b85e5f
Signed by: SWREI
GPG Key ID: 139D6573F92DA9F7
2 changed files with 5 additions and 5 deletions

View File

@ -157,13 +157,13 @@ export default defineNuxtConfig({
base: '',
},
public: {
privacyPolicyUrl: '',
privacyPolicyUrl: 'https://oscar.surf/@luke/pages/privacy',
// We use LibreTranslate (https://github.com/LibreTranslate/LibreTranslate) as
// our default translation server #76
translateApi: '',
// Use the instance where Elk has its Mastodon account as the default
defaultServer: 'm.webtoo.ls',
singleInstance: false,
defaultServer: 'puyopuyotetr.is',
singleInstance: true,
},
storage: {
fsBase: 'node_modules/.cache/app',
@ -311,7 +311,7 @@ export default defineNuxtConfig({
strategy: 'no_prefix',
detectBrowserLanguage: false,
langDir: 'locales',
defaultLocale: 'en-US',
defaultLocale: 'ko-KR',
vueI18n: './config/i18n.config.ts',
},
pwa,

View File

@ -38,7 +38,7 @@ export default defineNuxtPlugin(({ $scrollToTop }) => {
}
whenever(logicAnd(isAuthenticated, notUsingInput, keys.c), defaultPublishDialog)
const instanceDomain = currentInstance.value ? getInstanceDomain(currentInstance.value) : 'm.webtoo.ls'
const instanceDomain = currentInstance.value ? getInstanceDomain(currentInstance.value) : 'puyopuyotetr.is'
whenever(logicAnd(notUsingInput, useMagicSequence(['g', 'h'])), () => navigateTo('/home'))
whenever(logicAnd(isAuthenticated, notUsingInput, useMagicSequence(['g', 'n'])), () => navigateTo('/notifications'))
// TODO: always overridden by 'c' (compose) shortcut