Closed joelanman closed 6 years ago
reproduce:
Set a serviceName in app/config.js
app/config.js
Expected the service name to change in the header, but it doesn't.
UPDATE
It's this line:
https://github.com/alphagov/govuk-prototype-kit-private-beta/blob/master/server.js#L211
I think we might need Object.assign to make a separate copy of app.locals, as it is one affects the other.
app.locals
me broke it :( Fixed in the PR
reproduce:
Set a serviceName in
app/config.js
Expected the service name to change in the header, but it doesn't.
UPDATE
It's this line:
https://github.com/alphagov/govuk-prototype-kit-private-beta/blob/master/server.js#L211
I think we might need Object.assign to make a separate copy of
app.locals
, as it is one affects the other.