We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6da033 commit 156f54dCopy full SHA for 156f54d
modules/setting/setting.go
@@ -933,7 +933,7 @@ func NewContext() {
933
newMarkup()
934
935
sec = Cfg.Section("U2F")
936
- U2F.TrustedFacets, _ = shellquote.Split(sec.Key("TRUSTED_FACETS").MustString(strings.TrimRight(AppURL, "/")))
+ U2F.TrustedFacets, _ = shellquote.Split(sec.Key("TRUSTED_FACETS").MustString(strings.TrimSuffix(AppURL, AppSubURL+"/")))
937
U2F.AppID = sec.Key("APP_ID").MustString(strings.TrimSuffix(AppURL, "/"))
938
939
UI.ReactionsMap = make(map[string]bool)
0 commit comments