Skip to content

Commit ccef819

Browse files
fix: can't find the blog.properties
1 parent f9bfe70 commit ccef819

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/keroshi/keroshiblog/config/BlogProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
@Component
88
@ConfigurationProperties(prefix = "blog")
99
@PropertySource(value = {
10-
"file:./blog.properties",
11-
"classpath:blog.properties"
10+
"classpath:blog.properties",
11+
"file:blog.properties",
1212
}, encoding = "UTF-8", ignoreResourceNotFound = true)
1313
public class BlogProperties {
1414
private String name;

0 commit comments

Comments
 (0)