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:
Henrique Dias
2024-07-29 10:11:02 +02:00
parent d3732322bc
commit e7e9c3176d
7 changed files with 22 additions and 25 deletions
+1 -2
View File
@@ -110,8 +110,7 @@ users:
modify: true
# With this rule, the user CAN modify all files ending with .js. It uses
# a regular expression.
- path: "^*.js$"
regex: true
- regex: "^.+\.js$"
modify: true
# CORS configuration