From c84faf02e005c6eb19ecbec5aac4b7370e81c0e1 Mon Sep 17 00:00:00 2001 From: erseco Date: Wed, 10 Jun 2026 21:32:39 +0100 Subject: [PATCH] fix(playground): use github-proxy.exelearning.dev for installApp The installApp step and the per-PR preview link still pointed at zip-proxy.erseco.workers.dev, which is no longer reachable (the host fails the TLS handshake), so the playground's cross-origin fetch of the app ZIP died with "Failed to fetch" and the critical blueprint step aborted before the app was installed/enabled. Point both at github-proxy.exelearning.dev, the project's own CORS proxy already used by the editor unzip step. Same GitHub-mode query interface (?repo=&release=&asset=), verified to serve exelearning.zip with Access-Control-Allow-Origin: *. --- .github/workflows/playground-preview.yml | 2 +- blueprint.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playground-preview.yml b/.github/workflows/playground-preview.yml index fd33b95..4f2d35d 100644 --- a/.github/workflows/playground-preview.yml +++ b/.github/workflows/playground-preview.yml @@ -112,7 +112,7 @@ jobs: id: link run: | set -euo pipefail - asset="https://zip-proxy.erseco.workers.dev/?repo=${{ github.repository }}&release=${{ steps.id.outputs.tag }}&asset=exelearning.zip" + asset="https://github-proxy.exelearning.dev/?repo=${{ github.repository }}&release=${{ steps.id.outputs.tag }}&asset=exelearning.zip" jq --arg url "$asset" '(.steps[] | select(.step == "installApp")).url = $url' blueprint.json > blueprint.pr.json # Sample fixtures are referenced from raw main; point them at this PR's # commit so the preview reflects fixtures added/changed on the branch. diff --git a/blueprint.json b/blueprint.json index dcb49bb..eaca760 100644 --- a/blueprint.json +++ b/blueprint.json @@ -22,7 +22,7 @@ { "step": "installApp", "appId": "exelearning", - "url": "https://zip-proxy.erseco.workers.dev/?repo=exelearning/nextcloud-exelearning&release=playground&asset=exelearning.zip" + "url": "https://github-proxy.exelearning.dev/?repo=exelearning/nextcloud-exelearning&release=playground&asset=exelearning.zip" }, { "step": "unzip",