diff --git a/builder/build.sh b/builder/build.sh index 1392d02..44363a6 100755 --- a/builder/build.sh +++ b/builder/build.sh @@ -155,7 +155,7 @@ print(json.dumps(routes)) --write-out "\nHTTP_STATUS:%{http_code}" \ "${CADDY_API}/config/apps/http/servers/hiy/routes" \ --header "Content-Type: application/json" \ - --request PUT \ + --request PATCH \ --data "$UPDATED" 2>&1) set -e if echo "$CADDY_RESP" | grep -q "HTTP_STATUS:2"; then