🔧 Add JWT_SECRET_KEY to env and config

This commit is contained in:
RaviAnand Mohabir 2021-05-21 13:11:17 +02:00
parent b88af6c150
commit 7d1f92d593
2 changed files with 2 additions and 0 deletions

1
app/src/global.d.ts vendored
View File

@ -9,4 +9,5 @@ interface ImportMetaEnv {
VITE_TWITTER_API_SECRET: string;
VITE_REDDIT_API_KEY: string;
VITE_REDDIT_API_SECRET: string;
JWT_SECRET_KEY: string;
}

View File

@ -98,4 +98,5 @@ export const appAuth = new SvelteKitAuth({
return token;
},
},
jwtSecret: import.meta.env.JWT_SECRET_KEY,
});