Skip to content

Commit

Permalink
修复 vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MCredbear committed Jan 3, 2025
1 parent cfafc1c commit eabe864
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rewrites": [
"rewrites": [
{
"source": "/api/cloudsearch/pc",
"destination": "https://music.163.com/api/cloudsearch/pc"
Expand All @@ -8,6 +8,8 @@
"source": "/api/song/lyric",
"destination": "https://music.163.com/api/song/lyric"
}
],
"outputDirectory": "public"
}
],
"outputDirectory": "build/web",
"buildCommand": "flutter/bin/flutter build web --release",
"installCommand": "if cd flutter; then git pull && cd .. ; else git clone https://github.com/flutter/flutter.git; fi && ls && flutter/bin/flutter doctor && flutter/bin/flutter clean && flutter/bin/flutter config --enable-web"
}

0 comments on commit eabe864

Please sign in to comment.