From 12fb16caa02d598d88f09312cd8ac7a571ca48de Mon Sep 17 00:00:00 2001 From: Peter Hanssens Date: Tue, 23 Sep 2025 21:49:45 +1000 Subject: [PATCH] fix: Remove redirect loop in GitHub Pages deployment - Remove the redirect HTML that was overwriting the demo index.html - Now the actual demo HTML with WASM will be served directly - This fixes the infinite redirect loop issue --- .github/workflows/demo-deploy.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/demo-deploy.yml b/.github/workflows/demo-deploy.yml index acc77c1..ef0ef8d 100644 --- a/.github/workflows/demo-deploy.yml +++ b/.github/workflows/demo-deploy.yml @@ -136,22 +136,6 @@ jobs: cp examples/comprehensive-demo/index.html gh-pages-demo/ cp -r examples/comprehensive-demo/pkg gh-pages-demo/ - # Create a simple index.html redirect to the demo - cat > gh-pages-demo/index.html << 'EOF' - - - - - - Leptos ShadCN UI - Comprehensive Demo - - - -

Redirecting to demo...

- - - EOF - # Create a README for the demo cat > gh-pages-demo/README.md << 'EOF' # Leptos ShadCN UI - Comprehensive Demo