This commit is contained in:
les 2021-03-11 12:28:50 +01:00
parent 1a16835d87
commit 667565f3fe
No known key found for this signature in database
GPG key ID: 352918250B012177
3 changed files with 4 additions and 4 deletions

View file

@ -20,8 +20,8 @@
import { mapState } from 'vuex'
export default {
layout: 'modal',
name: 'Authorize',
layout: 'modal',
middleware: ['auth'],
async asyncData ({ $axios, query, error, req }) {
const { client_id, redirect_uri, scope, response_type } = query

View file

@ -319,9 +319,9 @@ export default {
margin-bottom: 25px;
}
.main_image {
width: 100%;
// width: 100%;
margin: 0 auto;
max-height: 80vh;
// max-height: 120vh;
border-radius: 5px;
transition: max-height 0.2s;
}

View file

@ -20,7 +20,7 @@ const DiskStorage = {
const outStream = fs.createWriteStream(finalPath)
const thumbStream = fs.createWriteStream(thumbPath)
const resizer = sharp().resize(1200).jpeg({ quality: 95 })
const resizer = sharp().resize(1200).jpeg({ quality: 98 })
const thumbnailer = sharp().resize(400).jpeg({ quality: 90 })
let onError = false
const err = e => {