播放器更新

This commit is contained in:
YGC
2026-07-14 18:43:40 +08:00
parent e2e7cf85b1
commit a57b66189c
43 changed files with 5908 additions and 529 deletions
+9
View File
@@ -8,9 +8,18 @@ const serverApiBaseUrl = (
).replace(/\/+$/, "");
const nextConfig: NextConfig = {
distDir: process.env.NEXT_DIST_DIR || ".next",
output: "standalone",
async rewrites() {
return [
{
source: "/api/music/:path*",
destination: "/api/music/:path*",
},
{
source: "/api/music",
destination: "/api/music",
},
{
source: "/api/:path*",
destination: `${serverApiBaseUrl}/:path*`,