Closed railsagainstignorance closed 8 years ago
default is still UK homepage, but can override with ?edition=US or ?edition=INTL
needs an env var: frontPageIdUS=... for the CAPI id of the US homepage
Other than my comment about switching from environment variables to adding the strings to the codebase itself, this looks good to me.
NOTE! siteApiEndpoint now apiOrigin as from that PR
default is still UK homepage, but can override with ?edition=US or ?edition=INTL
needs an env var: frontPageIdUS=... for the CAPI id of the US homepage