Set up picture upload mechanism.
This commit is contained in:
10
codiki-launcher/src/main/resources/application-local.yml
Normal file
10
codiki-launcher/src/main/resources/application-local.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
application:
|
||||
pictures:
|
||||
path: /Users/florian_thierry/Documents/Developpement/codiki-hexa/pictures-folder/
|
||||
temp-path : /Users/florian_thierry/Documents/Developpement/codiki-hexa/pictures-folder/temp/
|
||||
|
||||
spring:
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 1MB
|
||||
max-request-size: 1MB
|
||||
@@ -5,12 +5,17 @@ application:
|
||||
expirationDelayInMinutes: 30
|
||||
refreshToken:
|
||||
expirationDelayInDays: 7
|
||||
pictures:
|
||||
path: /opt/codiki/pictures/
|
||||
temp-path: /opt/codiki/pictures/temp/
|
||||
|
||||
logging:
|
||||
level:
|
||||
org.springframework.security: DEBUG
|
||||
|
||||
server:
|
||||
http2:
|
||||
enabled: true
|
||||
error:
|
||||
whitelabel:
|
||||
enabled: false # Disable html error responses.
|
||||
@@ -22,3 +27,7 @@ spring:
|
||||
url: jdbc:postgresql://localhost:50001/codiki_db
|
||||
username: codiki_user
|
||||
password: password
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 150MB
|
||||
max-request-size: 151MB
|
||||
|
||||
Reference in New Issue
Block a user