mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-11 18:32:24 +02:00
refactored stream redirect
This commit is contained in:
@@ -12,7 +12,6 @@ pub struct RewriteHlsProps<'a> {
|
||||
pub input_id: u16,
|
||||
}
|
||||
|
||||
|
||||
fn rewrite_hls_url(input: &str, replacement: &str) -> String {
|
||||
if replacement.starts_with('/') {
|
||||
let parts = input.splitn(4, '/').collect::<Vec<&str>>();
|
||||
|
||||
Reference in New Issue
Block a user