You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Network requests for assets such as /client/[slug].c6e3f42d.js should be URI-encoded since square brackets are reserved characters under RFC 3986. AWS API Gateway, for example, does not allow requests for such URLs, hence where an AWS stack is used to proxy requests Sapper is thus not supported.
Propose that encodeURIComponent() wraps the href of client assets.
(I've been able to locate what I believe would be the relevant points in code to correct URLs to stylesheets, but JS assets appear to be a lot trickier to track down.)
Network requests for assets such as
/client/[slug].c6e3f42d.jsshould be URI-encoded since square brackets are reserved characters under RFC 3986. AWS API Gateway, for example, does not allow requests for such URLs, hence where an AWS stack is used to proxy requests Sapper is thus not supported.Propose that
encodeURIComponent()wraps the href ofclientassets.(I've been able to locate what I believe would be the relevant points in code to correct URLs to stylesheets, but JS assets appear to be a lot trickier to track down.)