Set up picture upload mechanism.

This commit is contained in:
Florian THIERRY
2024-03-13 14:26:28 +01:00
parent ed766d4c8c
commit 0b00f9b0aa
16 changed files with 305 additions and 2 deletions

View 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

View File

@@ -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