diff --git a/scripts/build-pages.sh b/scripts/build-pages.sh index fe63c086f..1af1f6405 100755 --- a/scripts/build-pages.sh +++ b/scripts/build-pages.sh @@ -66,6 +66,40 @@ else EOF fi +echo "[build-pages] Creating Vercel-compatible directory structure" +mkdir -p ".pages/docs/pages" +cat > ".pages/docs/pages/index.html" <<'EOF' + + +
+ + +This page will redirect you to the main ComfyUI Frontend documentation.
+If the redirect doesn't work, please visit: Main Documentation
+