mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-08-03 13:48:09 +02:00
🔧 Add JWT_SECRET_KEY
to env and config
This commit is contained in:
parent
b88af6c150
commit
7d1f92d593
1
app/src/global.d.ts
vendored
1
app/src/global.d.ts
vendored
@ -9,4 +9,5 @@ interface ImportMetaEnv {
|
|||||||
VITE_TWITTER_API_SECRET: string;
|
VITE_TWITTER_API_SECRET: string;
|
||||||
VITE_REDDIT_API_KEY: string;
|
VITE_REDDIT_API_KEY: string;
|
||||||
VITE_REDDIT_API_SECRET: string;
|
VITE_REDDIT_API_SECRET: string;
|
||||||
|
JWT_SECRET_KEY: string;
|
||||||
}
|
}
|
||||||
|
@ -98,4 +98,5 @@ export const appAuth = new SvelteKitAuth({
|
|||||||
return token;
|
return token;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
jwtSecret: import.meta.env.JWT_SECRET_KEY,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user