Skip to content
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

Content-type header exposes tempfile path #20

Open
mattlenz opened this issue May 24, 2017 · 0 comments
Open

Content-type header exposes tempfile path #20

mattlenz opened this issue May 24, 2017 · 0 comments

Comments

@mattlenz
Copy link

All of the images served through node-imageable have their content-type header set to the internal tempfile path.

Content-Type: /tmp/node-image-magick/312/be6/f4d/61e/dfe/cc8/902/406/279/647/06e/4d3/19f/7/9327807652ec1f48646d397efb30a228e77ec66e-converted.jpeg

Imageable configuration:

app.use(imageable({
  namespace: 'img',
  keepDownloads: true
}, {}))

Has anyone else run into this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant