Skip to content

Commit 03f7499

Browse files
committed
change: remove URL's duplicate
1 parent 6db5f3a commit 03f7499

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

blog-business-boot/src/main/java/com/hackyle/blog/business/service/impl/FileStorageServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private String nameByUUID(String originalFileName) {
100100
private String pathSplitByDate() {
101101
LocalDate localDate = LocalDate.now();
102102
int month = localDate.getMonthValue();
103-
return String.format("/%s/%s/", localDate.getYear(), month < 10 ? "0"+month: String.valueOf(month));
103+
return String.format("%s/%s/", localDate.getYear(), month < 10 ? "0"+month: String.valueOf(month));
104104
}
105105

106106
}

blog-business-vue2/.env.development

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ ENV = 'development'
77
VUE_APP_PORT = 6106
88

99
# 后端的接口域
10-
VUE_APP_BACKEND_API = 'http://localhost:6101/'
10+
VUE_APP_BACKEND_API = 'http://localhost:6101'

0 commit comments

Comments
 (0)