forked from Cookies_Github_mirror/AquaDX
[+] Optimize upload photo
This commit is contained in:
@@ -62,12 +62,14 @@ game.ongeki.rival.rivals-max-count=10
|
||||
## Maimai DX
|
||||
## Allow users take photo as their avatar/portrait photo.
|
||||
game.maimai2.userPhoto.enable=true
|
||||
## Specify folder path that user portrait photo and its (.json) data save to.
|
||||
game.maimai2.userPhoto.picSavePath=data/userPhoto
|
||||
## When uploading user portraits, limit the divMaxLength parameter. 1 divLength is about equal to the file size of 10kb.
|
||||
## The default value is 32 (320kb), and the minimum value is 1 (10kb)
|
||||
game.maimai2.userPhoto.divMaxLength=32
|
||||
|
||||
## User upload saving paths
|
||||
paths.mai2-plays=data/upload/mai2/plays
|
||||
paths.mai2-portrait=data/upload/mai2/portrait
|
||||
paths.aqua-net-portrait=data/upload/net/portrait
|
||||
|
||||
## Logging
|
||||
spring.servlet.multipart.max-file-size=10MB
|
||||
|
||||
Reference in New Issue
Block a user