feat: integrate Turnstile captcha verification in signup process

This commit is contained in:
arraysid
2025-05-27 13:49:02 +07:00
parent fc3c275fea
commit 761eb0963a
10 changed files with 122 additions and 107 deletions
+1 -1
View File
@@ -2,5 +2,5 @@ import type { paths } from '@/openapi-types';
import createClient from 'openapi-fetch';
export const fetcher = createClient<paths>({
baseUrl: process.env.NEXT_PUBLIC_API_URL ?? 'https://api.imphnen.dev',
baseUrl: process.env.NEXT_PUBLIC_API_URL,
});
+1 -1
View File
@@ -3,6 +3,6 @@ import createFetchClient from 'openapi-fetch';
import createClient from 'openapi-react-query';
const fetchClient = createFetchClient<paths>({
baseUrl: process.env.NEXT_PUBLIC_API_URL ?? 'https://api.imphnen.dev',
baseUrl: process.env.NEXT_PUBLIC_API_URL,
});
export const rpc = createClient(fetchClient);