Change working directory to .halo2 (#2728)

#### What type of PR is this?

/kind improvement
/area core
/milestone 2.0.0

#### What this PR does / why we need it:

See https://github.com/halo-dev/halo/issues/2727 for more.

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/2727

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/2729/head
John Niang 2022-11-21 15:14:28 +08:00 committed by GitHub
parent 87ccd61ae5
commit 4c8a890c36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,7 @@ halo:
- "build/resources"
lib-directories:
- "libs"
work-dir: ${user.home}/halo2-dev
logging:
level:
run.halo.app: DEBUG

View File

@ -22,7 +22,7 @@ halo:
jwt:
public-key-location: classpath:app.pub
private-key-location: classpath:app.key
work-dir: ${user.home}/halo-next
work-dir: ${user.home}/.halo2
plugin:
plugins-root: ${halo.work-dir}/plugins

View File

@ -19,4 +19,4 @@ spec:
- $formkit: text
name: location
label: 存储位置
help: ~/halo-next/attachments 下的子目录
help: ~/.halo2/attachments 下的子目录