mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-24 12:11:53 +08:00
feat!: change default port and scope
BREAKING CHANGE: the default port is no longer random, but 6065. The default scope is now the current directory instead of the root directory.
This commit is contained in:
@@ -57,7 +57,7 @@ The configuration can be provided as a YAML, JSON or TOML file. Below is an exam
|
||||
|
||||
```yaml
|
||||
address: 0.0.0.0
|
||||
port: 0
|
||||
port: 6065
|
||||
|
||||
# TLS-related settings if you want to enable TLS directly.
|
||||
tls: false
|
||||
@@ -76,8 +76,8 @@ auth: true
|
||||
|
||||
# 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 'scope' defined.
|
||||
# Default is "/".
|
||||
scope: /
|
||||
# Default is "." (current directory).
|
||||
scope: .
|
||||
|
||||
# Whether the users can, by default, modify the contents. Default is false.
|
||||
modify: true
|
||||
|
||||
Reference in New Issue
Block a user