2022-06-06 13:48:53 +00:00
|
|
|
package conf
|
|
|
|
|
2023-02-18 11:03:07 +00:00
|
|
|
import (
|
|
|
|
"net/url"
|
|
|
|
"regexp"
|
|
|
|
)
|
2022-08-08 04:52:54 +00:00
|
|
|
|
2022-06-06 13:48:53 +00:00
|
|
|
var (
|
|
|
|
BuiltAt string
|
|
|
|
GoVersion string
|
|
|
|
GitAuthor string
|
|
|
|
GitCommit string
|
|
|
|
Version string = "dev"
|
|
|
|
WebVersion string
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
Conf *Config
|
2023-02-18 11:03:07 +00:00
|
|
|
URL *url.URL
|
2022-06-06 13:48:53 +00:00
|
|
|
)
|
2022-08-07 16:51:05 +00:00
|
|
|
|
2022-12-20 08:08:32 +00:00
|
|
|
var SlicesMap = make(map[string][]string)
|
2022-11-22 07:54:18 +00:00
|
|
|
var FilenameCharMap = make(map[string]string)
|
2022-08-08 04:52:54 +00:00
|
|
|
var PrivacyReg []*regexp.Regexp
|
2022-08-11 13:32:33 +00:00
|
|
|
|
|
|
|
var (
|
|
|
|
// StoragesLoaded loaded success if empty
|
|
|
|
StoragesLoaded = false
|
|
|
|
)
|
2022-08-28 15:13:03 +00:00
|
|
|
var (
|
|
|
|
RawIndexHtml string
|
|
|
|
ManageHtml string
|
|
|
|
IndexHtml string
|
|
|
|
)
|