1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix default config assignment

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Bill Thornton 2021-03-10 10:46:39 -05:00 committed by GitHub
parent 8e8a5f61b9
commit 9a51e42118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,8 @@ async function getConfig() {
return data;
} catch (error) {
console.warn('failed to fetch the web config file:', error);
return DefaultConfig;
data = DefaultConfig;
return data;
}
}