You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing an app that relies on serving images and video files. It's not for a huge amount of people so serving static files from the server is enough. However when serving a video file and returning it with the status 200 OK the browser will not allow seeking (or at least chromium based browsers, haven't really tested others).
I guess that serveStatic isn't meant to be used for media because you would typically use something like an S3 bucket to serve files but for development purposes saving files to the development machine is easier than setting up a data storage bucket. That being said returning the files (or at least media, could be specified by extension or content type) with 206 Partial Content would improve the development experience of hono.
The text was updated successfully, but these errors were encountered:
What is the feature you are proposing?
Hi!
I'm developing an app that relies on serving images and video files. It's not for a huge amount of people so serving static files from the server is enough. However when serving a video file and returning it with the status
200 OK
the browser will not allow seeking (or at least chromium based browsers, haven't really tested others).I guess that serveStatic isn't meant to be used for media because you would typically use something like an S3 bucket to serve files but for development purposes saving files to the development machine is easier than setting up a data storage bucket. That being said returning the files (or at least media, could be specified by extension or content type) with 206 Partial Content would improve the development experience of hono.
The text was updated successfully, but these errors were encountered: