Logo
Explore Help
Sign In
fam/cube
1
0
Fork 0
You've already forked cube
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
82247669267595473ff4eaa9fff21164bb8a6603
cube/apps/write/frontend/vite.config.ts
T

14 lines
308 B
TypeScript
Raw Normal View History

write: 进 cube 仓库 + 接 gitea CI 自动部署 - 整 apps/write/ 进 git(含 frontend 源码 + Makefile + systemd unit + k8s service/ingress) - .gitea/workflows/deploy-write.yml: act_runner fam 用户跑 host shell cargo build → npm build → install 到 ~/.local/bin/share/config → systemctl --user daemon-reload + restart → kubectl apply svc/ingress - 前端 3 处"麻薯"字样去掉(思考中 / placeholder × 2) 注意 ~/.config/write/env 已有 passphrase,CI placeholder 逻辑会跳过不覆盖。
2026-05-24 17:16:44 +01:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
server: {
proxy: {
'/api': 'http://localhost:31391',
'/asr': { target: 'ws://localhost:31391', ws: true },
'/healthz': 'http://localhost:31391',
},
},
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.26.0+rc0 Page: 19ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API