feat: add CF Turnstile when new address (#200)

This commit is contained in:
Dream Hunter
2024-05-04 23:14:23 +08:00
committed by GitHub
parent 26969bebb8
commit f63c4ebd9c
14 changed files with 154 additions and 17 deletions

View File

@@ -1,6 +1,5 @@
import { ref } from "vue";
import { createGlobalState, useStorage } from '@vueuse/core'
import { useDark, useToggle } from '@vueuse/core'
import { createGlobalState, useStorage, useDark, useToggle } from '@vueuse/core'
export const useGlobalState = createGlobalState(
() => {
@@ -16,6 +15,7 @@ export const useGlobalState = createGlobalState(
enableAutoReply: false,
domains: [],
copyright: 'Dream Hunter',
cfTurnstileSiteKey: '',
})
const settings = ref({
fetched: false,