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>
This commit is contained in:
2026-04-07 15:27:55 +08:00
parent dd8eaef97d
commit eb662a8b66
7 changed files with 69 additions and 37 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export default defineConfig({
host: '0.0.0.0'
},
build: {
outDir: '../build/static',
outDir: '../cmd/bilidown/static',
emptyOutDir: true,
},
css: {