Skip to content

Restrict proxy to media MIMEs, split routes #98

@DarkCat09

Description

@DarkCat09

For now, /proxy can pass any type of content without any checks. We don't want the users to download a 3 GB ISO through our txtdot servers.

  • Restrict proxying to images, video (and audio??) MIME types
  • Create separate API route /imgproxy, and then Add image compression #96
  • Leave /proxy for video and audio, or create a separate route

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions