Merge branch 'custom-css-undefined' into 'master'

Change default value for custom css to empty string

See merge request timvisee/send!25
This commit is contained in:
Tim Visée 2022-09-09 12:34:16 +00:00
commit 4ae007167d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ module.exports = async function(req) {
facebook: baseUrl + '/' + assets.get('send-fb.jpg'),
twitter: baseUrl + '/' + assets.get('send-twitter.jpg'),
wordmark: assets.get('wordmark.svg') + '#logo',
custom_css: assets.get('undefined')
custom_css: ''
};
Object.keys(uiAssets).forEach(index => {
if (config.ui_custom_assets[index] !== '')