From 19f5b90effd96907371996a046f9b03fa34980ee Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 21 Feb 2024 23:37:07 +0100 Subject: [PATCH] Reorganized application.properties - Removed unused sysout --- .../w665/sharepulse/service/FileService.java | 2 -- src/main/resources/application.properties | 28 ++++++++----------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/src/main/java/de/w665/sharepulse/service/FileService.java b/src/main/java/de/w665/sharepulse/service/FileService.java index fb9b50a..16072b7 100644 --- a/src/main/java/de/w665/sharepulse/service/FileService.java +++ b/src/main/java/de/w665/sharepulse/service/FileService.java @@ -91,8 +91,6 @@ public class FileService { .downloadPassword(password) .build(); - System.out.println(fileUpload.toString()); - fileUploadRepository.insertFileUpload(fileUpload); diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index de1047e..3e5ad1a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,27 +6,23 @@ 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 rethinkdb.database=sharepulse -# Miscellaneous -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 +# Upload size overwrite +spring.servlet.multipart.max-file-size=1GB +spring.servlet.multipart.max-request-size=1GB +# Static path +spring.web.resources.static-locations=classpath:/static/browser/ +# Rest API path prefix +spring.data.rest.base-path=/api/v1 +# Miscellaneous +server.port=80 +spring.application.name=sharepulse \ No newline at end of file