diff --git a/src/common/core/bunkernet/jobs/bunkernet-register.py b/src/common/core/bunkernet/jobs/bunkernet-register.py index 671dab264..4d5994591 100755 --- a/src/common/core/bunkernet/jobs/bunkernet-register.py +++ b/src/common/core/bunkernet/jobs/bunkernet-register.py @@ -98,6 +98,8 @@ try: bunkernet_id = Path("/var/cache/bunkerweb/bunkernet/instance.id").read_text() logger.info(f"Already registered on BunkerNet API with instance id {get_id()}") + sleep(1) + # Ping logger.info("Checking connectivity with BunkerNet API ...") bunkernet_ping = False diff --git a/src/common/core/misc/plugin.json b/src/common/core/misc/plugin.json index 6bf0b4731..ef10c894a 100644 --- a/src/common/core/misc/plugin.json +++ b/src/common/core/misc/plugin.json @@ -35,10 +35,10 @@ "ALLOWED_METHODS": { "context": "multisite", "default": "GET|POST|HEAD", - "help": "Allowed HTTP methods, separated with pipes to be sent by clients.", + "help": "Allowed HTTP and WebDAV methods, separated with pipes to be sent by clients.", "id": "allowed-methods", "label": "Allowed methods", - "regex": "^(?!\\|)(\\|?(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)(?!.*\\2))+$", + "regex": "^(?!\\|)(\\|?(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|COPY|LOCK|MKCOL|MOVE|PROPFIND|PROPPATCH|UNLOCK)(?!.*\\2))+$", "type": "text" }, "MAX_CLIENT_SIZE": {