-
Notifications
You must be signed in to change notification settings - Fork 231
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
etag middleware does not work in deploy #437
Labels
bug
Something isn't working
Comments
Reproduction path: import { Application, etag } from "https://deno.land/x/[email protected]/mod.ts";
const app = new Application();
app.use(etag.factory());
// Hello World!
app.use((ctx) => {
ctx.response.body = "Hello World!";
});
await app.listen({ port: 8000 }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My deployment wasn't serving any static files. The route I was going to uses the etag.factory(), then the matching route was just setting the body to "Hello world!". Locally it works fine and adds the etag but in deploy I got the following error.
The text was updated successfully, but these errors were encountered: