refactor: move single instance config to runtime (#1664)

This commit is contained in:
Daniel Roe 2023-02-07 04:10:43 -08:00 committed by GitHub
parent 9e09c9072f
commit 2128d11238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
import type { Ref } from 'vue'
export const useSignIn = (input?: Ref<HTMLInputElement | undefined>) => {
const singleInstanceServer = useAppConfig().singleInstanceServer
const singleInstanceServer = useRuntimeConfig().public.singleInstance
const userSettings = useUserSettings()
const users = useUsers()
const { t } = useI18n()