diff --git a/src/beckend/src/main/kotlin/club/itstudio/itmanager/utils/Const.kt b/src/beckend/src/main/kotlin/club/itstudio/itmanager/utils/Const.kt index 4cf60d5..5051d98 100644 --- a/src/beckend/src/main/kotlin/club/itstudio/itmanager/utils/Const.kt +++ b/src/beckend/src/main/kotlin/club/itstudio/itmanager/utils/Const.kt @@ -13,6 +13,8 @@ object Const { const val FLOW_LIMIT_COUNTER = "flow:counter:" const val FLOW_LIMIT_BLOCK = "flow:block:" + const val FILE_DIR_IMAGE = "image" + const val INTERNAL_ERROR_STR = "something went wrong. Please contact the administrator." val INTERNAL_ERROR_MONO = Mono.just(INTERNAL_ERROR_STR) diff --git a/src/beckend/src/main/resources/application.yaml b/src/beckend/src/main/resources/application.yaml index 748b836..8c9ef51 100644 --- a/src/beckend/src/main/resources/application.yaml +++ b/src/beckend/src/main/resources/application.yaml @@ -43,4 +43,4 @@ app: limit-time: 3 ban-time: 60 file: - upload-path: ./data/upload/ \ No newline at end of file + data-path: ./data \ No newline at end of file