eb662a8b66
- 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>
22 lines
430 B
TypeScript
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'
|
|
}
|
|
}
|
|
}
|
|
}) |