🔧 config: 切换到生产环境 API

- 更新 API base URL 从测试环境到生产环境
- lib/api/client.ts: api-test.mixvideo.bowong.cc → api.mixvideo.bowong.cc
- lib/auth/client.ts: api-test.mixvideo.bowong.cc → api.mixvideo.bowong.cc

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
imeepos 2025-11-11 18:20:39 +08:00
parent 93e0cfdae1
commit fe814bd403
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import { storage } from '../storage'; import { storage } from '../storage';
const BASE_URL = 'https://api-test.mixvideo.bowong.cc'; const BASE_URL = 'https://api.mixvideo.bowong.cc';
export interface ApiRequestOptions { export interface ApiRequestOptions {
method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';

View File

@ -4,7 +4,7 @@ import { usernameClient } from "better-auth/client/plugins";
import { createAuthClient } from "better-auth/react"; import { createAuthClient } from "better-auth/react";
import { storage } from '../storage'; import { storage } from '../storage';
export const authClient = createAuthClient({ export const authClient = createAuthClient({
baseURL: "https://api-test.mixvideo.bowong.cc/api/auth", baseURL: "https://api.mixvideo.bowong.cc/api/auth",
fetchOptions: { fetchOptions: {
credentials: "omit", credentials: "omit",
auth: { auth: {