fixing style
This commit is contained in:
parent
e454940dfa
commit
f40485842d
35 changed files with 16000 additions and 286 deletions
|
|
@ -10,6 +10,12 @@ type Config struct {
|
|||
HTTPAddr, Profile, ContentFile, PostgresURL string
|
||||
AllowedOrigins, SSOHeader, SSOToken, SSOCookie string
|
||||
GoLoose GoLooseConfig
|
||||
|
||||
// ThemeBaseURL is the go-bananas origin supplying the shared styling contract.
|
||||
// Empty keeps this application's own fallbacks, which is the safe default: the
|
||||
// stylesheet is written as var(--bn-role, <colour>), so a missing contract
|
||||
// degrades to the palette it always had rather than to an unstyled page.
|
||||
ThemeBaseURL string
|
||||
}
|
||||
|
||||
// GoLooseConfig describes the Go Loose hosted-login integration. Go Tell is
|
||||
|
|
@ -39,6 +45,7 @@ func Load() Config {
|
|||
SSOHeader: get("CMS_SSO_HEADER", "X-SSO-Token"),
|
||||
SSOToken: get("CMS_SSO_TOKEN", ""),
|
||||
SSOCookie: get("CMS_SSO_COOKIE", ""),
|
||||
ThemeBaseURL: get("CMS_THEME_BASE_URL", ""),
|
||||
GoLoose: GoLooseConfig{
|
||||
Tenant: get("GO_LOOSE_TENANT", "tell"),
|
||||
AuthDomain: get("GO_LOOSE_AUTH_DOMAIN", "auth.dev"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue