diff options
Diffstat (limited to 'src/lib/Utility/root.ts')
| -rw-r--r-- | src/lib/Utility/root.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/Utility/root.ts b/src/lib/Utility/root.ts index f2a17d04..bf8bb11f 100644 --- a/src/lib/Utility/root.ts +++ b/src/lib/Utility/root.ts @@ -1,8 +1,8 @@ -import { env } from '$env/dynamic/public'; +import { env } from "$env/dynamic/public"; export const root = (path: string, enable = false) => - env.PUBLIC_ANILIST_REDIRECT_URI?.includes('localhost') || enable - ? `http://localhost:5173${path}` - : `https://due.moe${path}`; + env.PUBLIC_ANILIST_REDIRECT_URI?.includes("localhost") || enable + ? `http://localhost:5173${path}` + : `https://due.moe${path}`; export default root; |