更新 application-prod.yml 配置
在文件开头添加空行,并设置服务器上下文路径为 /api。
This commit is contained in:
parent
96c0b26896
commit
5c414537f9
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
@ -8,4 +9,7 @@ spring:
|
|||||||
# 日志级别,生产环境改为warn
|
# 日志级别,生产环境改为warn
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
root: info
|
root: info
|
||||||
|
server:
|
||||||
|
servlet:
|
||||||
|
context-path: /api
|
||||||
Loading…
x
Reference in New Issue
Block a user