add dotenv
parent
371a10b126
commit
090a585a92
@ -1,6 +1,11 @@
|
|||||||
|
import dotenv from "dotenv";
|
||||||
|
dotenv.config();
|
||||||
|
|
||||||
export const store = {
|
export const store = {
|
||||||
users: [],
|
users: [],
|
||||||
clientID: process.env.APP_SPOTIFY_CLIENT_ID,
|
clientID: process.env.APP_SPOTIFY_CLIENT_ID,
|
||||||
clientSecret: process.env.APP_SPOTIFY_CLIENT_SECRET,
|
clientSecret: process.env.APP_SPOTIFY_CLIENT_SECRET,
|
||||||
redirectURL: process.env.APP_SPOTIFY_REDIRECT_URI,
|
redirectURL: process.env.APP_SPOTIFY_REDIRECT_URI,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log('store:', store);
|
||||||
|
Loading…
Reference in New Issue