mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-22 03:20:41 +08:00
feat!: simplified rule with regex instead of boolean
BREAKING CHANGE: the "regex" field in the rule is now a regular expression instead of a boolean.
This commit is contained in:
+1
-2
@@ -161,8 +161,7 @@ users:
|
||||
- username: basic
|
||||
password: basic
|
||||
rules:
|
||||
- path: "^.+.js$"
|
||||
regex: true
|
||||
- regex: "^.+.js$"
|
||||
modify: false
|
||||
- path: "/b"
|
||||
modify: false
|
||||
|
||||
Reference in New Issue
Block a user