new: Improve the automatic update module, add authentication, and fix some bugs

This commit is contained in:
2024-12-18 00:02:55 +08:00
parent 95f4496ab6
commit 05df3fa376
12 changed files with 109 additions and 22 deletions

View File

@@ -1,6 +1,13 @@
# app config #
host: 0.0.0.0
port: 8080
cache_path: tmp
# use this secret to update your posts
update_endpoint: /update
update_secret: 123456
# configure object storage to automatically obtain article updates
storage:
src: _post/src
dst: _post/dst
@@ -12,6 +19,8 @@ storage:
secret_id:
secret_key:
save_path:
# website template directory
template: templates/default
# site config #