新增虎牙账号和任务基础功能

This commit is contained in:
yml2213
2026-07-04 16:31:12 +08:00
parent 3df247e4e5
commit e1d47a85be
26 changed files with 4513 additions and 3 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
const backendTarget = process.env.VITE_BACKEND_TARGET || 'http://127.0.0.1:8000'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
@@ -9,7 +11,7 @@ export default defineConfig({
allowedHosts: ["www.u499731.nyat.app"],
proxy: {
'/api': {
target: 'http://127.0.0.1:8000',
target: backendTarget,
changeOrigin: true,
ws: true,
},