Made app production ready

This commit is contained in:
Max W. 2024-02-21 23:09:55 +01:00
parent 29b0826168
commit f4fcd2bbb7
2 changed files with 9 additions and 10 deletions

View File

@ -5,7 +5,7 @@ plugins {
} }
group = 'de.w665' group = 'de.w665'
version = '0.0.2' version = '1.0.0'
java { java {
sourceCompatibility = '21' sourceCompatibility = '21'

View File

@ -6,16 +6,9 @@ sharepulse.fileid.charset=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01
sharepulse.filepassword.length=6 sharepulse.filepassword.length=6
sharepulse.filepassword.charset=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 sharepulse.filepassword.charset=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
# Static path
spring.web.resources.static-locations=classpath:/static/browser/
# Rest API path prefix # Rest API path prefix
spring.data.rest.base-path=/api/v1 spring.data.rest.base-path=/api/v1
# Upload size overwrite
spring.servlet.multipart.max-file-size=1GB
spring.servlet.multipart.max-request-size=1GB
# Database # Database
rethinkdb.host=localhost rethinkdb.host=localhost
rethinkdb.port=28015 rethinkdb.port=28015
@ -26,7 +19,13 @@ server.port=80
spring.application.name=sharepulse spring.application.name=sharepulse
# Spring profiles (Options: development, production) (Controls cors) # Spring profiles (Options: development, production) (Controls cors)
spring.profiles.active=development spring.profiles.active=production
# Logging # Logging
logging.level.de.w665.sharepulse=DEBUG logging.level.de.w665.sharepulse=INFO
# Static path
spring.web.resources.static-locations=classpath:/static/browser/
# Upload size overwrite
spring.servlet.multipart.max-file-size=1GB
spring.servlet.multipart.max-request-size=1GB