summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/upload/isWebpSupported.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/scripts/upload/isWebpSupported.ts')
-rw-r--r--packages/frontend/src/scripts/upload/isWebpSupported.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/frontend/src/scripts/upload/isWebpSupported.ts b/packages/frontend/src/scripts/upload/isWebpSupported.ts
index cde8b9d785..185c3e6b40 100644
--- a/packages/frontend/src/scripts/upload/isWebpSupported.ts
+++ b/packages/frontend/src/scripts/upload/isWebpSupported.ts
@@ -1,3 +1,8 @@
+/*
+ * SPDX-FileCopyrightText: syuilo and other misskey contributors
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+
let isWebpSupportedCache: boolean | undefined;
export function isWebpSupported() {
if (isWebpSupportedCache === undefined) {