-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug]: When express-sharp is down, the media files don't get served. #1808
Labels
bug
Something isn't working
Comments
zetlen
pushed a commit
that referenced
this issue
Oct 3, 2019
The express-sharp library has updated to v3.0.0, which includes a [breaking change](magento-research/express-sharp#5) to the URL scheme, and therefore the public API of the library. This helps us simplify the code in addImgOptMiddleware, because we don't have to rewrite the URL as aggressively--it's closer to the Fastly paradigm. Closes #1808, and some other issues.
zetlen
pushed a commit
that referenced
this issue
Oct 3, 2019
The express-sharp library has updated to v3.0.0, which includes a [breaking change](magento-research/express-sharp#5) to the URL scheme, and therefore the public API of the library. This helps us simplify the code in addImgOptMiddleware, because we don't have to rewrite the URL as aggressively--it's closer to the Fastly paradigm. Closes #1808, and some other issues.
Hey, this is an oversight in |
zetlen
pushed a commit
that referenced
this issue
Oct 4, 2019
The express-sharp library has updated to v3.0.0, which includes a [breaking change](magento-research/express-sharp#5) to the URL scheme, and therefore the public API of the library. This helps us simplify the code in addImgOptMiddleware, because we don't have to rewrite the URL as aggressively--it's closer to the Fastly paradigm. Closes #1808, and some other issues. test: coverage for addImgOptMiddleware changes
zetlen
pushed a commit
that referenced
this issue
Oct 4, 2019
The express-sharp library has updated to v3.0.0, which includes a [breaking change](magento-research/express-sharp#5) to the URL scheme, and therefore the public API of the library. This helps us simplify the code in addImgOptMiddleware, because we don't have to rewrite the URL as aggressively--it's closer to the Fastly paradigm. Closes #1808, and some other issues. test: coverage for addImgOptMiddleware changes
zetlen
pushed a commit
that referenced
this issue
Oct 7, 2019
The express-sharp library has updated to v3.0.0, which includes a [breaking change](magento-research/express-sharp#5) to the URL scheme, and therefore the public API of the library. This helps us simplify the code in addImgOptMiddleware, because we don't have to rewrite the URL as aggressively--it's closer to the Fastly paradigm. Closes #1808, and some other issues. test: coverage for addImgOptMiddleware changes
dpatil-magento
pushed a commit
that referenced
this issue
Oct 10, 2019
* feat: Simplify image middleware with express-sharp update The express-sharp library has updated to v3.0.0, which includes a [breaking change](magento-research/express-sharp#5) to the URL scheme, and therefore the public API of the library. This helps us simplify the code in addImgOptMiddleware, because we don't have to rewrite the URL as aggressively--it's closer to the Fastly paradigm. Closes #1808, and some other issues. test: coverage for addImgOptMiddleware changes * fix: WebP content negotiation. Closes #1842 * fixup prettier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When express-sharp is down, the media files don't get served.
@zetlen found a possible solution.
https://github.com/magento/pwa-studio/blob/develop/packages/venia-ui/upward.yml#L15
needs to be updated to:
pattern: '^/(graphql|rest|media)(/|$)'
The text was updated successfully, but these errors were encountered: