mirror of https://github.com/halo-dev/halo
Refine configuration for dev profile (#2753)
#### What type of PR is this? /kind improvement #### What this PR does / why we need it: 1. 增加console代理配置,默认代理到`http://localhost:3000/`。 2. 增加用户名密码初始化配置。 3. 增加win profile,指定与dev profile中不同的r2dbc url,windows环境下调试时可以使用 `dev,win` profile。 #### Does this PR introduce a user-facing change? ```release-note None ```pull/2791/head
parent
de983a2e46
commit
569cea4ab8
|
@ -9,7 +9,14 @@ spring:
|
|||
cache: false
|
||||
|
||||
halo:
|
||||
console:
|
||||
proxy:
|
||||
endpoint: http://localhost:3000/
|
||||
enabled: true
|
||||
security:
|
||||
initializer:
|
||||
super-admin-username: admin
|
||||
super-admin-password: admin
|
||||
oauth2:
|
||||
jwt:
|
||||
jwsAlgorithm: rs512
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
spring:
|
||||
r2dbc:
|
||||
url: r2dbc:h2:file:///~/halo2-dev/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE
|
||||
halo:
|
||||
work-dir: ${user.home}/halo2-dev
|
Loading…
Reference in New Issue