[backend] Fix error images configuration load

This commit is contained in:
Laura Hausmann 2023-10-17 01:18:29 +02:00
parent 0c9c04f89d
commit 6ffe09709e
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -43,10 +43,10 @@ export default function load() {
config.port = config.port || parseInt(process.env.PORT || "", 10); config.port = config.port || parseInt(process.env.PORT || "", 10);
config.images = { config.images = {
...config.images,
info: '/twemoji/1f440.svg', info: '/twemoji/1f440.svg',
notFound: '/twemoji/2049.svg', notFound: '/twemoji/2049.svg',
error: '/twemoji/1f480.svg', error: '/twemoji/1f480.svg',
...config.images,
}; };
config.searchEngine = config.searchEngine ?? 'https://duckduckgo.com/?q='; config.searchEngine = config.searchEngine ?? 'https://duckduckgo.com/?q=';