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 775cd66 commit b559c20Copy full SHA for b559c20
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.TrimSuffix(AppURL, "/")))
+ U2F.TrustedFacets, _ = shellquote.Split(sec.Key("TRUSTED_FACETS").MustString(strings.TrimRight(AppURL, "/")))
937
U2F.AppID = sec.Key("APP_ID").MustString(strings.TrimSuffix(AppURL, "/"))
938
939
UI.ReactionsMap = make(map[string]bool)
0 commit comments