mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-08 00:42:32 +02:00
webui
This commit is contained in:
@@ -30,7 +30,7 @@ use jsonwebtoken::{decode, Algorithm, DecodingKey, Validation};
|
||||
use log::{debug, error, log_enabled, trace};
|
||||
use reqwest::StatusCode;
|
||||
use shared::model::{InputFetchMethod, PlaylistEntry, PlaylistItemType, TargetType, UserConnectionPermission, XtreamCluster};
|
||||
use shared::utils::{default_grace_period_millis, human_readable_byte_size};
|
||||
use shared::utils::{default_grace_period_millis, human_readable_byte_size, trim_slash};
|
||||
use shared::utils::{extract_extension_from_url, replace_url_extension, sanitize_sensitive_info, DASH_EXT, HLS_EXT};
|
||||
use std::borrow::Cow;
|
||||
use std::collections::HashMap;
|
||||
@@ -439,7 +439,7 @@ where
|
||||
if self.action_path.is_empty() {
|
||||
format!("{provider_id}{extension}")
|
||||
} else {
|
||||
format!("{}/{provider_id}{extension}", self.action_path)
|
||||
format!("{}/{provider_id}{extension}", trim_slash(self.action_path))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user