refactor: file dir structure

This commit is contained in:
SOR
2026-08-01 11:46:49 +08:00
parent 830d3254e4
commit 065b9f77e4
2 changed files with 3 additions and 1 deletions
@@ -13,6 +13,8 @@ object Const {
const val FLOW_LIMIT_COUNTER = "flow:counter:" const val FLOW_LIMIT_COUNTER = "flow:counter:"
const val FLOW_LIMIT_BLOCK = "flow:block:" 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." const val INTERNAL_ERROR_STR = "something went wrong. Please contact the administrator."
val INTERNAL_ERROR_MONO = Mono.just(INTERNAL_ERROR_STR) val INTERNAL_ERROR_MONO = Mono.just(INTERNAL_ERROR_STR)
@@ -43,4 +43,4 @@ app:
limit-time: 3 limit-time: 3
ban-time: 60 ban-time: 60
file: file:
upload-path: ./data/upload/ data-path: ./data