mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
- Pass _retryAttempted flag correctly in _retryUploadWithDirectoryCreation - Add retry flag to error object to track retry attempts across error boundaries - Update catch block to check both parameter and error flags - Fix return type of retry method to handle undefined case - Update test expectations to match new retry behavior - Change incorrect error log to debug log in _getUrl method This prevents infinite recursion when WebDAV server returns 409 Conflict errors for missing parent directories.
41 lines
607 B
YAML
41 lines
607 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: alice
|
|
directory: /data/alice
|
|
- username: bob
|
|
password: bob
|
|
directory: /data/bob
|
|
- username: admin
|
|
password: admin
|
|
directory: /data/admin
|