mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
38 lines
556 B
YAML
38 lines
556 B
YAML
address: 0.0.0.0
|
|
port: 2345
|
|
|
|
prefix: /
|
|
permissions: CRUD
|
|
|
|
# CORS configuration to allow all origins
|
|
cors:
|
|
enabled: true
|
|
credentials: true
|
|
allowed_headers:
|
|
- '*'
|
|
allowed_hosts:
|
|
- '*'
|
|
allowed_methods:
|
|
- GET
|
|
- HEAD
|
|
- POST
|
|
- PUT
|
|
- DELETE
|
|
- OPTIONS
|
|
- PROPFIND
|
|
- PROPPATCH
|
|
- MKCOL
|
|
- COPY
|
|
- MOVE
|
|
- LOCK
|
|
- UNLOCK
|
|
exposed_headers:
|
|
- '*'
|
|
|
|
users:
|
|
- username: alice
|
|
password: alicepassword
|
|
directory: /data/alice
|
|
- username: bob
|
|
password: bobpassword
|
|
directory: /data/bob
|