|
|
|
@ -129,7 +129,7 @@ halo:
|
|
|
|
|
server:
|
|
|
|
|
# Response data gzip.
|
|
|
|
|
compression:
|
|
|
|
|
enabled: false
|
|
|
|
|
enabled: true
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 示例配置文件
|
|
|
|
@ -146,10 +146,9 @@ server:
|
|
|
|
|
|
|
|
|
|
# Response data gzip.
|
|
|
|
|
compression:
|
|
|
|
|
enabled: false
|
|
|
|
|
enabled: true
|
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
|
|
|
|
|
# H2 database configuration.
|
|
|
|
|
driver-class-name: org.h2.Driver
|
|
|
|
|
url: jdbc:h2:file:~/.halo/db/halo
|
|
|
|
@ -165,7 +164,6 @@ spring:
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
halo:
|
|
|
|
|
|
|
|
|
|
# Your admin client path is https://your-domain/{admin-path}
|
|
|
|
|
admin-path: admin
|
|
|
|
|
|
|
|
|
@ -181,10 +179,9 @@ server:
|
|
|
|
|
|
|
|
|
|
# Response data gzip.
|
|
|
|
|
compression:
|
|
|
|
|
enabled: false
|
|
|
|
|
enabled: true
|
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
|
|
|
|
|
# MySQL database configuration.
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
|
|
@ -192,7 +189,6 @@ spring:
|
|
|
|
|
password: 123456
|
|
|
|
|
|
|
|
|
|
halo:
|
|
|
|
|
|
|
|
|
|
# Your admin client path is https://your-domain/{admin-path}
|
|
|
|
|
admin-path: admin
|
|
|
|
|
|
|
|
|
|