mirror of
https://github.com/handsomezhuzhu/AeroStart.git
synced 2026-02-20 12:00:15 +00:00
- Add SettingsMenu component for quick navigation between settings sections - Add mask opacity control to adjust overlay transparency - Optimize search suggestions with immediate response and smooth animations - Refine component styles for more compact interface - Fix Translation interface type definition for maskOpacity - Unify Bilibili API path to simplify environment handling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
526 B
TypeScript
25 lines
526 B
TypeScript
import path from 'path';
|
|
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3000,
|
|
host: '0.0.0.0',
|
|
proxy: {
|
|
'/api/bilibili': {
|
|
target: 'https://s.search.bilibili.com',
|
|
changeOrigin: true,
|
|
rewrite: (path) => path.replace(/^\/api\/bilibili/, '/main/suggest'),
|
|
secure: false,
|
|
}
|
|
}
|
|
},
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
}
|
|
}
|
|
});
|