mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
[backend] Fix error images configuration load
This commit is contained in:
parent
0c9c04f89d
commit
6ffe09709e
@ -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=';
|
||||||
|
Loading…
Reference in New Issue
Block a user