mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
docs: guide setup (#10862)
This commit is contained in:
5
apps/guide/src/util/env.ts
Normal file
5
apps/guide/src/util/env.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const ENV = {
|
||||
IS_LOCAL_DEV: process.env.VERCEL_ENV === 'development' || process.env.NEXT_PUBLIC_LOCAL_DEV === 'true',
|
||||
IS_PREVIEW: process.env.VERCEL_ENV === 'preview',
|
||||
PORT: process.env.PORT ?? 3_001,
|
||||
};
|
||||
Reference in New Issue
Block a user