-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Seeking help once again.
When proxying .m3u8 files, there are sometimes embedded URL-s that would have the client contact the server directly via the embedded URL. I would like to change that URL and serve the modified content. What I managed to do, is to check if the URL points to an .m3u8 file
ctx.body = req
if (dest.endsWith(".m3u8")) {
ctx.body = req // here I would need to modify the content, but .replace() does not work
}Could anyone point me to the right direction?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels