mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
refactor: simplify regex string
This commit is contained in:
parent
65c8575c0e
commit
c955f2da0f
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class SettingsUpdateDto {
|
||||||
isSet[prop.name] = true
|
isSet[prop.name] = true
|
||||||
}
|
}
|
||||||
|
|
||||||
@get:Pattern(regexp = "^\\/[\\w-\\/]*[a-zA-Z0-9]\$")
|
@get:Pattern(regexp = "^/[\\w-/]*[a-zA-Z0-9]$")
|
||||||
var serverContextPath: String?
|
var serverContextPath: String?
|
||||||
by Delegates.observable(null) { prop, _, _ ->
|
by Delegates.observable(null) { prop, _, _ ->
|
||||||
isSet[prop.name] = true
|
isSet[prop.name] = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue