-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ts
26 lines (21 loc) · 1020 Bytes
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export const NEXT_PUBLIC_URL =
process.env.NEXT_PUBLIC_URL ?? "https://matteing.com";
export const NEXT_PUBLIC_GHOST_URL =
process.env.NEXT_PUBLIC_GHOST_URL ?? "https://cms.matteing.com";
export const NEXT_PUBLIC_GHOST_CONTENT_KEY =
process.env.NEXT_PUBLIC_GHOST_CONTENT_KEY;
export const GHOST_ADMIN_KEY = process.env.GHOST_ADMIN_KEY;
export const GHOST_RSS_ENDPOINT =
process.env.GHOST_RSS_ENDPOINT ?? "https://cms.matteing.com/rss";
export const NEXT_PUBLIC_MUSIC_SERVICE =
(process.env.NEXT_PUBLIC_MUSIC_SERVICE as
| "apple-music"
| "spotify"
| undefined) ?? "spotify";
export const SPOTIFY_CLIENT_ID = process.env.SPOTIFY_CLIENT_ID;
export const SPOTIFY_CLIENT_SECRET = process.env.SPOTIFY_CLIENT_SECRET;
export const SPOTIFY_REFRESH_TOKEN = process.env.SPOTIFY_REFRESH_TOKEN;
export const AM_USER_TOKEN = process.env.AM_USER_TOKEN;
export const AM_DEV_TOKEN = process.env.AM_DEV_TOKEN;
export const DISCORD_HOOK = process.env.DISCORD_HOOK;
export const REVALIDATE_KEY = process.env.REVALIDATE_KEY;