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

View File

@ -38,7 +38,7 @@ export default defineNuxtPlugin(({ $scrollToTop }) => {
} }
whenever(logicAnd(isAuthenticated, notUsingInput, keys.c), defaultPublishDialog) 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(notUsingInput, useMagicSequence(['g', 'h'])), () => navigateTo('/home'))
whenever(logicAnd(isAuthenticated, notUsingInput, useMagicSequence(['g', 'n'])), () => navigateTo('/notifications')) whenever(logicAnd(isAuthenticated, notUsingInput, useMagicSequence(['g', 'n'])), () => navigateTo('/notifications'))
// TODO: always overridden by 'c' (compose) shortcut // TODO: always overridden by 'c' (compose) shortcut