Small change to the global template values middleware that should fix issue with downstream web app
All checks were successful
Publish to Private NPM Registry / publish (push) Successful in 45s
All checks were successful
Publish to Private NPM Registry / publish (push) Successful in 45s
This commit is contained in:
parent
8b12c0cc6c
commit
e7b291c78d
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class GlobalTemplateValuesMiddleware {
|
||||||
this.titlePrefix = options.titlePrefix;
|
this.titlePrefix = options.titlePrefix;
|
||||||
this.titleSuffix = options.titleSuffix;
|
this.titleSuffix = options.titleSuffix;
|
||||||
Object.keys(options).forEach(key => {
|
Object.keys(options).forEach(key => {
|
||||||
if(!['company', 'description', 'keywords', 'author', 'titlePrefix', 'titleSuffix'].includes(key)) {
|
if(!['description', 'keywords', 'author', 'titlePrefix', 'titleSuffix'].includes(key)) {
|
||||||
this.otherValues[key] = options[key] as string;
|
this.otherValues[key] = options[key] as string;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue