mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Mandatory host body and suffic for wildcard urls
This commit is contained in:
parent
31b43da96f
commit
34d76e79ed
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class SourcePluginConfig(
|
|||
}
|
||||
|
||||
companion object {
|
||||
private val _allowRegex = Regex("\\*\\.[a-z0-9]*\\.[a-z]*");
|
||||
private val _allowRegex = Regex("\\*\\.[a-z0-9]+\\.[a-z]+");
|
||||
|
||||
fun fromJson(json: String, sourceUrl: String? = null): SourcePluginConfig {
|
||||
val obj = Serializer.json.decodeFromString<SourcePluginConfig>(json);
|
||||
|
|
Loading…
Add table
Reference in a new issue