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