mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 10:27:03 -04:00
Add Missing Header
This commit is contained in:
parent
6bd3b06de5
commit
1d5d309a97
2 changed files with 11 additions and 20 deletions
|
@ -1,3 +1,9 @@
|
|||
/*
|
||||
* Vencord, a Discord client mod
|
||||
* Copyright (c) 2024 Vendicated and contributors
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
const extensionMap = {
|
||||
"ogg": [".ogv", ".oga", ".ogx", ".ogm", ".spx", ".opus"],
|
||||
"jpg": [".jpg", ".jpeg", ".jfif", ".jpe", ".jif", ".jfi", ".pjpeg", ".pjp"],
|
||||
|
@ -9,4 +15,4 @@ const extensionMap = {
|
|||
export const reverseExtensionMap = Object.entries(extensionMap).reduce((acc, [target, exts]) => {
|
||||
exts.forEach(ext => acc[ext] = `.${target}`);
|
||||
return acc;
|
||||
}, {} as Record<string, string>);
|
||||
}, {} as Record<string, string>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue