new: Automatically pull Markdown files from Tencent Cloud COS

This commit is contained in:
2024-12-17 22:12:12 +08:00
parent 959cef6a2a
commit 95f4496ab6
10 changed files with 168 additions and 11 deletions

View File

@@ -34,9 +34,9 @@ type MApp struct {
SrcFiles []model.MFileInfo
}
const (
SRC = "_post/src" // source markdown files
DST = "_post/dst" // destination html files
var (
SRC = config.MConfigInstance.Storage.SRC // source markdown files
DST = config.MConfigInstance.Storage.DST // destination html files
)
func init() {