From f4fcd2bbb74b983aaed3fe9f359638965fccae41 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 21 Feb 2024 23:09:55 +0100 Subject: [PATCH] Made app production ready --- build.gradle | 2 +- src/main/resources/application.properties | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index d59f36b..0955891 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group = 'de.w665' -version = '0.0.2' +version = '1.0.0' java { sourceCompatibility = '21' diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index de1047e..e0ea671 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,16 +6,9 @@ sharepulse.fileid.charset=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01 sharepulse.filepassword.length=6 sharepulse.filepassword.charset=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 -# Static path -spring.web.resources.static-locations=classpath:/static/browser/ - # Rest API path prefix 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 rethinkdb.host=localhost rethinkdb.port=28015 @@ -26,7 +19,13 @@ server.port=80 spring.application.name=sharepulse # Spring profiles (Options: development, production) (Controls cors) -spring.profiles.active=development +spring.profiles.active=production # Logging -logging.level.de.w665.sharepulse=DEBUG \ No newline at end of file +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 \ No newline at end of file