Force download certain mime types, is there a non-template approach?

Change header to

header @mp4 Content-Disposition "attachment; filename=\"{http.request.uri.path.1}\""

You’ll have to place all your videos below the public folder though. In my chrome it prompts me to download the video file.

1 Like