Sync layouts, typography, and watermark studio for self-hosted OSS.

Unlock features without credits/Stripe, point docs to docs.songs2vid.com, and drop leftover billing admin surfaces.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Songs2YT
2026-07-25 03:50:06 +02:00
co-authored by Cursor
parent bcca0a6e6f
commit d951ecb489
53 changed files with 3258 additions and 1977 deletions
+14
View File
@@ -1,5 +1,10 @@
import type { NextConfig } from "next";
const docsUrl = (
process.env.NEXT_PUBLIC_DOCS_URL?.trim() || "https://docs.songs2vid.com"
).replace(/\/$/, "");
const apiDocsUrl = `${docsUrl}/docs/api/overview`;
const nextConfig: NextConfig = {
output: "standalone",
images: {
@@ -15,6 +20,15 @@ const nextConfig: NextConfig = {
bodySizeLimit: "32mb",
},
},
async redirects() {
return [
{
source: "/dashboard/api-docs",
destination: apiDocsUrl,
permanent: false,
},
];
},
};
export default nextConfig;