mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use recaptcha.net for recaptcha hosting, works better globally
This commit is contained in:
parent
e349f6c675
commit
037262cb2e
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ import { updateTheme } from '../lib/themeUpdater'
|
|||
import { ThemeId } from '../components/tokens/stitches.config'
|
||||
import { posthog } from 'posthog-js'
|
||||
import { GoogleReCaptchaProvider } from '@google-recaptcha/react'
|
||||
import { Recaptcha } from '../components/elements/Recaptcha'
|
||||
|
||||
TopBarProgress.config({
|
||||
barColors: {
|
||||
|
|
@ -83,6 +84,7 @@ export function OmnivoreApp({ Component, pageProps }: AppProps): JSX.Element {
|
|||
<GoogleReCaptchaProvider
|
||||
type="v2-checkbox"
|
||||
isEnterprise={true}
|
||||
host="recaptcha.net"
|
||||
siteKey={process.env.NEXT_PUBLIC_RECAPTCHA_CHALLENGE_SITE_KEY ?? ''}
|
||||
>
|
||||
<KBarProvider actions={generateActions(router)}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue