Created
October 22, 2020 14:26
-
-
Save hoangnt-2197/e8e1f73fe6f79fb27dcc5b7dc13a3e3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
@ConfigurationProperties(prefix = "knote") | |
class KnoteProperties { | |
@Value("${uploadDir:/tmp/uploads/}") | |
private String uploadDir; | |
public String getUploadDir() { | |
return uploadDir; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment