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

This commit is contained in:
Alan Bridgeman 2025-06-18 05:19:22 -05:00
parent 8b12c0cc6c
commit e7b291c78d

View file

@ -40,7 +40,7 @@ class GlobalTemplateValuesMiddleware {
this.titlePrefix = options.titlePrefix;
this.titleSuffix = options.titleSuffix;
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;
}
})