docs: cleanup readme

This commit is contained in:
Henrique Dias
2024-07-29 09:13:46 +01:00
parent d7faa1f887
commit ebcf500d5e
+6 -6
View File
@@ -64,21 +64,21 @@ tls: false
cert: cert.pem cert: cert.pem
key: key.pem key: key.pem
# Prefix to apply to the WebDAV path-ing. Default is "/". # Prefix to apply to the WebDAV path-ing. Default is '/'.
prefix: / prefix: /
# Enable or disable debug logging. Default is false. # Enable or disable debug logging. Default is 'false'.
debug: false debug: false
# The directory that will be able to be accessed by the users when connecting. # The directory that will be able to be accessed by the users when connecting.
# This directory will be used by users unless they have their own 'directory' defined. # This directory will be used by users unless they have their own 'directory' defined.
# Default is "." (current directory). # Default is '.' (current directory).
directory: . directory: .
# Whether the users can, by default, modify the contents. Default is false. # The default modification permissions for users. Default is 'false'.
modify: true modify: true
# Default permissions rules to apply at the paths. # The default permissions rules for users. Default is none.
rules: [] rules: []
# Logging configuration # Logging configuration
@@ -131,7 +131,7 @@ users:
modify: true modify: true
# With this rule, the user CAN modify all files ending with .js. It uses # With this rule, the user CAN modify all files ending with .js. It uses
# a regular expression. # a regular expression.
- regex: "^.+\.js$" - regex: "^.+.js$"
modify: true modify: true
``` ```