airlabs-manage/frontend/vite.config.js
seaislee1209 41c2b9cd89
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 2m5s
Build and Deploy Web / build-and-deploy (push) Successful in 1m32s
feat: 批量多集提交 — 集数多选+投入时长自动均分
- 后端 create_submission 支持 episode_numbers 批量创建,hours_spent 按集数均分
- 前端集数选择器改为多选(collapse-tags),显示分配提示
- 后端 API 端口统一改为 8001(.env.development + vite.config.js)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 19:21:11 +08:00

16 lines
271 B
JavaScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
server: {
port: 3000,
proxy: {
'/api': {
target: 'http://localhost:8001',
changeOrigin: true,
}
}
}
})