更新 application-prod.yml 配置

在文件开头添加空行,并设置服务器上下文路径为 /api。
This commit is contained in:
燕陇琪 2024-12-28 20:41:04 +08:00
parent 96c0b26896
commit 5c414537f9

View File

@ -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