Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 authored Oct 1, 2020
1 parent 775cd66 commit b559c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/setting/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ func NewContext() {
newMarkup()

sec = Cfg.Section("U2F")
U2F.TrustedFacets, _ = shellquote.Split(sec.Key("TRUSTED_FACETS").MustString(strings.TrimSuffix(AppURL, "/")))
U2F.TrustedFacets, _ = shellquote.Split(sec.Key("TRUSTED_FACETS").MustString(strings.TrimRight(AppURL, "/")))
U2F.AppID = sec.Key("APP_ID").MustString(strings.TrimSuffix(AppURL, "/"))

UI.ReactionsMap = make(map[string]bool)
Expand Down

0 comments on commit b559c20

Please sign in to comment.