mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Fix avatar upload error
- Set server-side avatar size limit to 72000
This commit is contained in:
parent
bfb0c05e83
commit
ef64b0a654
4 changed files with 7 additions and 9 deletions
|
@ -43,7 +43,7 @@ ENV BUILD_DEPS="apt-utils libarchive-tools gnupg gosu wget curl bzip2 g++ build-
|
|||
ATTACHMENTS_UPLOAD_MAX_SIZE=0 \
|
||||
AVATARS_UPLOAD_EXTERNAL_PROGRAM="" \
|
||||
AVATARS_UPLOAD_MIME_TYPES="" \
|
||||
AVATARS_UPLOAD_MAX_SIZE=0 \
|
||||
AVATARS_UPLOAD_MAX_SIZE=72000 \
|
||||
RICHER_CARD_COMMENT_EDITOR=false \
|
||||
CARD_OPENED_WEBHOOK_ENABLED=false \
|
||||
MAX_IMAGE_PIXEL="" \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// PWA
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function() {
|
||||
navigator.serviceWorker.register('/pwa-service-worker.js');
|
||||
navigator.serviceWorker.register('./pwa-service-worker.js');
|
||||
});
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ head
|
|||
link(rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png")
|
||||
link(rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png")
|
||||
link(rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png")
|
||||
link(rel="manifest" href="/site.webmanifest")
|
||||
// link(rel="manifest" href="/site.webmanifest")
|
||||
link(rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5")
|
||||
meta(name="apple-mobile-web-app-title" content="Wekan")
|
||||
meta(name="application-name" content="Wekan")
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
Meteor.startup(() => {
|
||||
if (process.env.HEADER_LOGIN_ID) {
|
||||
Meteor.settings.public.headerLoginId = process.env.HEADER_LOGIN_ID;
|
||||
Meteor.settings.public.headerLoginEmail = process.env.HEADER_LOGIN_EMAIL;
|
||||
Meteor.settings.public.headerLoginFirstname =
|
||||
process.env.HEADER_LOGIN_FIRSTNAME;
|
||||
Meteor.settings.public.headerLoginLastname =
|
||||
process.env.HEADER_LOGIN_LASTNAME;
|
||||
Meteor.settings.public.headerLoginId = process.env.HEADER_LOGIN_ID;
|
||||
Meteor.settings.public.headerLoginEmail = process.env.HEADER_LOGIN_EMAIL;
|
||||
Meteor.settings.public.headerLoginFirstname = process.env.HEADER_LOGIN_FIRSTNAME;
|
||||
Meteor.settings.public.headerLoginLastname = process.env.HEADER_LOGIN_LASTNAME;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue