mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-01-06 00:08:15 +01:00
🔧 Use VITE_
prefix for all env variables
This commit is contained in:
parent
c717dbdf6a
commit
97c285208f
2
app/src/global.d.ts
vendored
2
app/src/global.d.ts
vendored
@ -11,5 +11,5 @@ interface ImportMetaEnv {
|
||||
VITE_TWITTER_API_SECRET: string;
|
||||
VITE_REDDIT_API_KEY: string;
|
||||
VITE_REDDIT_API_SECRET: string;
|
||||
JWT_SECRET_KEY: string;
|
||||
VITE_JWT_SECRET_KEY: string;
|
||||
}
|
||||
|
@ -62,5 +62,5 @@ export const appAuth = new SvelteKitAuth({
|
||||
return token;
|
||||
},
|
||||
},
|
||||
jwtSecret: import.meta.env.JWT_SECRET_KEY,
|
||||
jwtSecret: import.meta.env.VITE_JWT_SECRET_KEY,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user