Files
yw1573 eb662a8b66 feat: add FFmpeg status check and shutdown button
- FFmpeg check no longer blocks server startup
- Add /api/checkFFmpeg endpoint to query FFmpeg availability
- Add /api/shutdown endpoint to gracefully stop the server
- Add FFmpeg status indicator in web header
- Add shutdown button in web interface
- Move static files output to cmd/bilidown/static for embedding
- Update .gitignore to exclude cmd/bilidown/static

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 15:27:55 +08:00

22 lines
430 B
TypeScript

import { defineConfig } from 'vite'
export default defineConfig({
clearScreen: false,
server: {
proxy: {
'/api': 'http://127.0.0.1:8098'
},
host: '0.0.0.0'
},
build: {
outDir: '../cmd/bilidown/static',
emptyOutDir: true,
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler'
}
}
}
})