Open adamschwartz opened 1 year ago
Image assets within instruction pages are failing to load:
The issue is simply due to the githubPath specified in package.json still being: "EagerIO/EmbedBox".
githubPath
package.json
"EagerIO/EmbedBox"
https://github.com/cloudflare/embed-box/blob/f669c7edc93934632852cc0675a269f2bce4639f/package.json#L21
This path is then used to construct the asset CDN URL:
https://github.com/cloudflare/embed-box/blob/f669c7edc93934632852cc0675a269f2bce4639f/webpack.config.base.js#L6 https://github.com/cloudflare/embed-box/blob/f669c7edc93934632852cc0675a269f2bce4639f/webpack.config.base.js#L17
This image fails to load:
https://cdn.rawgit.com/EagerIO/EmbedBox/v2.0.3/dist/assets/app/targets/shopify/shopify-latest/edit-template.png
(It redirects to https://cdn.jsdelivr.net/gh/EagerIO/EmbedBox/... which fails to load.)
https://cdn.jsdelivr.net/gh/EagerIO/EmbedBox/...
However, with the correct repo path, it loads:
https://cdn.rawgit.com/cloudflare/embed-box/v2.0.3/dist/assets/app/targets/shopify/shopify-latest/edit-template.png
Image assets within instruction pages are failing to load:
The issue is simply due to the
githubPath
specified inpackage.json
still being:"EagerIO/EmbedBox"
.https://github.com/cloudflare/embed-box/blob/f669c7edc93934632852cc0675a269f2bce4639f/package.json#L21
This path is then used to construct the asset CDN URL:
https://github.com/cloudflare/embed-box/blob/f669c7edc93934632852cc0675a269f2bce4639f/webpack.config.base.js#L6 https://github.com/cloudflare/embed-box/blob/f669c7edc93934632852cc0675a269f2bce4639f/webpack.config.base.js#L17
This image fails to load:
(It redirects to
https://cdn.jsdelivr.net/gh/EagerIO/EmbedBox/...
which fails to load.)However, with the correct repo path, it loads: