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
(where assets is some JS and CSS) but don't see a clear way to do this. Is that a possibility currently? What I'm currently doing can be seen here. This just gets a shape like [ { headerName: 'headerValue' } ].
I'm trying to avoid adding a separate middleware before staticCache — I'm trying to control headers only for things that happened to also be served by this middleware.
The text was updated successfully, but these errors were encountered:
zacanger
changed the title
Possible to pass headers through?
Possible to set headers when using this module?
May 10, 2017
I'm looking to do something like the following (using
koa-router
):(where
assets
is some JS and CSS) but don't see a clear way to do this. Is that a possibility currently? What I'm currently doing can be seen here. This just gets a shape like[ { headerName: 'headerValue' } ]
.I'm trying to avoid adding a separate middleware before
staticCache
— I'm trying to control headers only for things that happened to also be served by this middleware.The text was updated successfully, but these errors were encountered: