
--- src/main/java/com/takensoft/common/file/service/Impl/FileServiceImpl.java
+++ src/main/java/com/takensoft/common/file/service/Impl/FileServiceImpl.java
... | ... | @@ -216,7 +216,7 @@ |
216 | 216 |
// if (uploadPath == null) { |
217 | 217 |
// throw new Exception("Upload path is not properly configured."); |
218 | 218 |
// } |
219 |
- uploadPath = "/home/cloud-user/front-end/invest/uploadFiles" + editPath; |
|
219 |
+ uploadPath = "/home/cloud-user/front-end/uploadFiles" + editPath; |
|
220 | 220 |
String savePath = uploadPath + maskNm; |
221 | 221 |
// 파일 저장 |
222 | 222 |
try { |
... | ... | @@ -229,7 +229,7 @@ |
229 | 229 |
e.printStackTrace(); |
230 | 230 |
throw new Exception("File upload failed."); |
231 | 231 |
} |
232 |
- String imgPath = frontUrl + "/invest/uploadFiles" + editPath + maskNm; |
|
232 |
+ String imgPath = frontUrl + "/uploadFiles" + editPath + maskNm; |
|
233 | 233 |
return imgPath; |
234 | 234 |
} |
235 | 235 |
}(파일 끝에 줄바꿈 문자 없음) |
--- src/main/resources/application.yml
+++ src/main/resources/application.yml
... | ... | @@ -1,7 +1,7 @@ |
1 | 1 |
server: |
2 | 2 |
port: 9090 |
3 | 3 |
servlet: |
4 |
- context-path: '/invest' |
|
4 |
+ context-path: '/' |
|
5 | 5 |
|
6 | 6 |
spring: |
7 | 7 |
# \uc218\ub3d9 Bean\uc774 \uc790\ub3d9 Bean\uc744 \uc624\ubc84\ub77c\uc774\ub529\ud558\uac8c \uc124\uc815 |
... | ... | @@ -15,22 +15,10 @@ |
15 | 15 |
#Datasource Configuration |
16 | 16 |
cms: |
17 | 17 |
datasource: |
18 |
-# driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy |
|
19 |
-# jdbc-url: jdbc:log4jdbc:postgresql://210.180.118.83:5432/yj_cms?currentSchema=yj_cms |
|
20 |
-# username: takensoft |
|
21 |
-# password: tts96314728!@ |
|
22 |
- |
|
23 | 18 |
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy |
24 |
- jdbc-url: jdbc:log4jdbc:postgresql://172.25.16.160:5432/yj_cms?currentSchema=yj_cms |
|
25 |
- username: postgres |
|
19 |
+ jdbc-url: jdbc:log4jdbc:postgresql://210.180.118.83:5432/cms_portal?currentSchema=cms |
|
20 |
+ username: takensoft |
|
26 | 21 |
password: tts96314728!@ |
27 |
- |
|
28 |
- # postgresql |
|
29 |
- # mariaDB |
|
30 |
- #driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy |
|
31 |
- #url: jdbc:log4jdbc:mariadb://210.180.118.83/yj_portal |
|
32 |
- #username: takensoft |
|
33 |
- #password: tts96314728!@ |
|
34 | 22 |
|
35 | 23 |
# 오라클 설정 |
36 | 24 |
# ums: |
... | ... | @@ -39,13 +27,6 @@ |
39 | 27 |
# jdbc-url: jdbc:oracle:thin:@localhost:1521:xe |
40 | 28 |
# username: c##test1 |
41 | 29 |
# password: 1234 |
42 |
- |
|
43 |
- ums: |
|
44 |
- datasource: |
|
45 |
- driver-class-name: oracle.jdbc.OracleDriver |
|
46 |
- jdbc-url: jdbc:oracle:thin:@111.6.1.32:1521:ora10 |
|
47 |
- username: mono_customer |
|
48 |
- password: mono_customer |
|
49 | 30 |
|
50 | 31 |
sql: |
51 | 32 |
init: |
... | ... | @@ -93,7 +74,7 @@ |
93 | 74 |
|
94 | 75 |
# frontUrl |
95 | 76 |
front: |
96 |
- url: https://www.yeongju.go.kr |
|
77 |
+ url: http://localhost:8080 |
|
97 | 78 |
|
98 | 79 |
# 암복호화 |
99 | 80 |
crypto: |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?