Skip to content

Commit 8bc2fe0

Browse files
feat: 修改 HALO_EXTERNAL_URL 默认值
1 parent c6cf303 commit 8bc2fe0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/halo/versions/2.2.0/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"labelZh": "外部访问地址",
5555
"labelEn": "External URL",
5656
"required": true,
57-
"default": "localhost:8080",
57+
"default": "http://localhost:8080",
5858
"envKey": "HALO_EXTERNAL_URL"
5959
},
6060
{

apps/halo/versions/2.2.0/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- --spring.r2dbc.username=${PANEL_DB_USER}
1616
- --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD}
1717
- --spring.sql.init.platform=mysql
18-
- --halo.external-url=http://${HALO_EXTERNAL_URL}
18+
- --halo.external-url=${HALO_EXTERNAL_URL}
1919
- --halo.security.initializer.superadminusername=${HALO_ADMIN}
2020
- --halo.security.initializer.superadminpassword=${HALO_ADMIN_PASSWORD}
2121
labels:

0 commit comments

Comments
 (0)