Skip to content

Commit a7f1b86

Browse files
authored
Merge pull request #99 from prgrms-web-devcourse-final-project/feat#97
[fix] 백엔드 배포환경 url 수정
2 parents ab96b9b + ddaa6e7 commit a7f1b86

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

src/main/resources/application-prod.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44
# url: ${DATABASE_URL}
55
#
66
#
7-
# jpa:
8-
# hibernate:
9-
# ddl-auto: update
10-
# properties:
11-
# hibernate:
12-
# show_sql: false
7+
138
spring:
149
autoconfigure:
1510
exclude:
@@ -19,6 +14,15 @@ spring:
1914
password: ${REDIS_PASSWORD}
2015
datasource:
2116
url: ${DATABASE_URL}
17+
username: ${DATABASE_USERNAME}
18+
password: ${DATABASE_PASSWORD}
19+
driver-class-name: com.mysql.cj.jdbc.Driver
20+
jpa:
21+
hibernate:
22+
ddl-auto: update
23+
properties:
24+
hibernate:
25+
show_sql: false
2226

2327
springdoc:
2428
swagger-ui:

src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ custom:
7575
prod:
7676
cookieDomain: ${BASE_URL}
7777
frontUrl: "https://www.${custom.prod.cookieDomain}"
78-
backUrl: "https://${custom.prod.cookieDomain}"
78+
backUrl: "https://api.${custom.prod.cookieDomain}"
7979
site:
8080
cookieDomain: "${custom.dev.cookieDomain}"
8181
frontUrl: "${custom.dev.frontUrl}"

0 commit comments

Comments
 (0)