From a4d10f54dd66c37541153c8b65f6bc977671c1fe Mon Sep 17 00:00:00 2001 From: "tim.ivaikin" Date: Sat, 4 Jan 2020 22:56:22 +0300 Subject: [PATCH] Support for 3x devices including 11 Pro and MacPro --- README.md | 4 ++-- backend/app/cmd/server.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 29b42d76..9fbb0d91 100644 --- a/README.md +++ b/README.md @@ -127,8 +127,8 @@ _this is the recommended way to run remark42_ | image.fs.staging | IMAGE_FS_STAGING | `./var/pictures.staging` | staging location of images | | image.fs.partitions | IMAGE_FS_PARTITIONS | `100` | number of image partitions | | image.bolt.file | IMAGE_BOLT_FILE | `/var/pictures.db` | images bolt file location | -| image.resize-width | IMAGE_RESIZE_WIDTH | `1600` | width of resized image | -| image.resize-height | IMAGE_RESIZE_HEIGHT | `600` | height of resized image | +| image.resize-width | IMAGE_RESIZE_WIDTH | `2400` | width of resized image | +| image.resize-height | IMAGE_RESIZE_HEIGHT | `900` | height of resized image | | auth.ttl.jwt | AUTH_TTL_JWT | `5m` | jwt TTL | | auth.ttl.cookie | AUTH_TTL_COOKIE | `200h` | cookie TTL | | auth.google.cid | AUTH_GOOGLE_CID | | Google OAuth client ID | diff --git a/backend/app/cmd/server.go b/backend/app/cmd/server.go index 6d1897e1..733061e4 100644 --- a/backend/app/cmd/server.go +++ b/backend/app/cmd/server.go @@ -131,8 +131,8 @@ type ImageGroup struct { File string `long:"file" env:"FILE" default:"./var/pictures.db" description:"images bolt file location"` } `group:"bolt" namespace:"bolt" env-namespace:"bolt"` MaxSize int `long:"max-size" env:"MAX_SIZE" default:"5000000" description:"max size of image file"` - ResizeWidth int `long:"resize-width" env:"RESIZE_WIDTH" default:"1600" description:"width of resized image"` - ResizeHeight int `long:"resize-height" env:"RESIZE_HEIGHT" default:"600" description:"height of resized image"` + ResizeWidth int `long:"resize-width" env:"RESIZE_WIDTH" default:"2400" description:"width of resized image"` + ResizeHeight int `long:"resize-height" env:"RESIZE_HEIGHT" default:"900" description:"height of resized image"` } // AvatarGroup defines options group for avatar params