mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-05-11 01:17:34 +02:00
⚡️ Import config
directly from dotenv
for improved tree-shaking
This commit is contained in:
parent
e1012d6b91
commit
a894eaa8e9
@ -5,9 +5,9 @@ import {
|
|||||||
RedditOAuth2Provider,
|
RedditOAuth2Provider,
|
||||||
TwitterAuthProvider,
|
TwitterAuthProvider,
|
||||||
} from "sk-auth/providers";
|
} from "sk-auth/providers";
|
||||||
import dotenv from 'dotenv';
|
import { config } from "dotenv";
|
||||||
|
|
||||||
dotenv.config();
|
config();
|
||||||
|
|
||||||
export const appAuth = new SvelteKitAuth({
|
export const appAuth = new SvelteKitAuth({
|
||||||
providers: [
|
providers: [
|
||||||
|
Loading…
Reference in New Issue
Block a user