Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 58x 48x 48x 48x 48x 6x 48x 48x 48x 48x 48x 48x 48x 48x 110x 119x | export const baseUrl =
process.env.NEXT_PUBLIC_SITE_URL ?? "http://localhost:3000";
export const env = process.env.NODE_ENV;
export const clientId = process.env.NEXT_PUBLIC_SPOTIFY_CLIENT_ID;
export const redirectUrl = `${baseUrl}/dashboard`;
export const enablePkceAuth =
process.env.NEXT_PUBLIC_ENABLE_PKCE_AUTH ?? "true";
export const lyricsApiUrl = process.env.NEXT_PUBLIC_LYRICS_API_URL;
export const setlistFmApiKey = process.env.SETLIST_FM_API_KEY;
export const lastFmApiKey = process.env.LAST_FM_API_KEY;
export const spotifyAccessCookie = process.env.SPOTIFY_ACCESS_COOKIE;
export const spotifyClientSecret = process.env.SPOTIFY_CLIENT_SECRET;
export const fanArtTvApiKey = process.env.FAN_ART_TV_API_KEY;
export const hmacSecret = process.env.HMAC_SECRET ?? "change-this-secret";
export const isServer = (): boolean =>
!(typeof window != "undefined" && window.document);
|