Change default value for custom css to empty string

This commit is contained in:
Marian Hähnlein 2022-09-08 14:16:00 +02:00
parent 3dede083cd
commit 660f36e584
No known key found for this signature in database
GPG Key ID: B43047632CA1D3D6

View File

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