new: Automatically pull Markdown files from Tencent Cloud COS

This commit is contained in:
yv1ing
2024-12-17 22:12:12 +08:00
parent 2e3ebc870d
commit 30ca25dbc0
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() {