diff --git a/README.md b/README.md index 0130eb27..478b55b2 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,7 @@ _this is the recommended way to run remark42_ | low-score | LOW_SCORE | `-5` | low score threshold | | critical-score | CRITICAL_SCORE | `-10` | critical score threshold | | edit-time | EDIT_TIME | `5m` | edit window | +| read-age | READONLY_AGE | | read-only age of comments, days | | img-proxy | IMG_PROXY | `false` | enable http->https proxy for images | | dbg | DEBUG | `false` | debug mode | | dev-passwd | DEV_PASSWD | | password for `dev` user | diff --git a/backend/app/cmd/server.go b/backend/app/cmd/server.go index 9808a630..77f980f7 100644 --- a/backend/app/cmd/server.go +++ b/backend/app/cmd/server.go @@ -48,7 +48,7 @@ type ServerCommand struct { MaxVotes int `long:"max-votes" env:"MAX_VOTES" default:"-1" description:"maximum number of votes per comment"` LowScore int `long:"low-score" env:"LOW_SCORE" default:"-5" description:"low score threshold"` CriticalScore int `long:"critical-score" env:"CRITICAL_SCORE" default:"-10" description:"critical score threshold"` - ReadOnlyAge int `long:"read-age" env:"READONLY_AGE" default:"0" description:"read-only age of comments"` + ReadOnlyAge int `long:"read-age" env:"READONLY_AGE" default:"0" description:"read-only age of comments, days"` EditDuration time.Duration `long:"edit-time" env:"EDIT_TIME" default:"5m" description:"edit window"` Port int `long:"port" env:"REMARK_PORT" default:"8080" description:"port"` WebRoot string `long:"web-root" env:"REMARK_WEB_ROOT" default:"./web" description:"web root directory"`