From 474c71bf96413d9286504be2a0ccfe9a67a8f3f5 Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Sun, 8 Dec 2024 10:15:12 +0800 Subject: [PATCH] fix(style): use local image for Gitea OAuth provider logo - Replaced the default Gitea logo URL with a local image path to ensure the logo is displayed correctly. - The default URL `https://authjs.dev/img/providers/gitea.svg` is not supported, so a local image is used instead. --- public/gitea.svg | 18 ++++++++++++++++++ src/lib/providers/gitea.ts | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 public/gitea.svg diff --git a/public/gitea.svg b/public/gitea.svg new file mode 100644 index 0000000..33293fa --- /dev/null +++ b/public/gitea.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/lib/providers/gitea.ts b/src/lib/providers/gitea.ts index df50847..28a07d1 100644 --- a/src/lib/providers/gitea.ts +++ b/src/lib/providers/gitea.ts @@ -68,5 +68,9 @@ export default function Gitea( }; }, options: config, + style:{ + logo:"/gitea.svg", + brandColor:"#609926", + } }; }