fix!: check https with X-Forwarded-Proto

not read old setting `api_url` and `base_path` from this commit
This commit is contained in:
Noah Hsu
2023-01-19 12:16:42 +08:00
parent bc1babb5b5
commit ce4a295008
3 changed files with 9 additions and 14 deletions

View File

@ -11,8 +11,6 @@ const (
const (
// site
VERSION = "version"
ApiUrl = "api_url"
BasePath = "base_path"
SiteTitle = "site_title"
Announcement = "announcement"
AllowIndexed = "allow_indexed"