diff --git a/app/uploads/videos/[...path]/route.ts b/app/uploads/videos/[...path]/route.ts new file mode 100644 index 0000000..45f8cf5 --- /dev/null +++ b/app/uploads/videos/[...path]/route.ts @@ -0,0 +1,149 @@ +// app/uploads/videos/[...path]/route.ts +// Serves uploaded MP4s from UPLOADS_DIR/videos at the /uploads/videos/* URLs +// stored in the database. Streams from disk with HTTP Range support — browsers +// require range requests for