dynamic public path

This commit is contained in:
Xhofe
2022-02-20 15:14:18 +08:00
parent eb61f70164
commit 9d279b104b
5 changed files with 18 additions and 16 deletions

View File

@ -37,7 +37,7 @@ func DefaultConfig() *Config {
return &Config{
Address: "0.0.0.0",
Port: 5244,
Assets: "jsdelivr",
Assets: "https://npm.elemecdn.com/alist-web@$version",
TempDir: "data/temp",
Database: Database{
Type: "sqlite3",

View File

@ -14,6 +14,7 @@ var (
GitAuthor string
GitCommit string
GitTag string = "dev"
WebTag string
)
var (