Skip to content

Content-type header exposes tempfile path #20

Description

@mattlenz

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions