Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
> 请勿在演示环境中输入真实的敏感数据

## 📦 快速开始

### 1. Docker 部署 (推荐)

**方式一:Docker Compose (最简)**
Expand Down
4 changes: 0 additions & 4 deletions src/js/modules/music.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
import { store } from '../store.js';
import { toast } from './toast.js';

// 导入 AMLL 样式
// AMLL 样式已移至 lazy load
// import '@applemusic-like-lyrics/core/style.css';

// 音频播放器实例
let audioPlayer = null;
const audioContext = null;
Expand Down
10 changes: 5 additions & 5 deletions vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -147,24 +147,24 @@ export default defineConfig(({ mode }) => {
},
proxy: {
'/api': {
target: 'http://127.0.0.1:3000',
target: `http://127.0.0.1:${env.PORT || 3000}`,
changeOrigin: true,
},
'/v1': {
target: 'http://127.0.0.1:3000',
target: `http://127.0.0.1:${env.PORT || 3000}`,
changeOrigin: true,
},
'/socket.io': {
target: 'http://127.0.0.1:3000',
target: `http://127.0.0.1:${env.PORT || 3000}`,
ws: true,
},
'/ws': {
target: 'http://127.0.0.1:3000',
target: `http://127.0.0.1:${env.PORT || 3000}`,
ws: true,
changeOrigin: true,
},
'/uploads': {
target: 'http://127.0.0.1:3000',
target: `http://127.0.0.1:${env.PORT || 3000}`,
changeOrigin: true,
},
},
Expand Down
Loading