waffle/discord-waffle-bridge/src/config.js

9 lines
409 B
JavaScript
Raw Normal View History

2022-10-30 21:32:35 +02:00
import * as dotenv from "dotenv";
dotenv.config();
export const WAFFLE_API_BASE = process.env.WAFFLE_BASE ?? "http://localhost:3000/api/v1";
export const WAFFLE_GATEWAY_BASE = process.env.WAFFLE_GATEWAY_BASE ?? "ws://localhost:3000/gateway";
export const WAFFLE_TOKEN = process.env.WAFFLE_TOKEN;
export const DISCORD_TOKEN = process.env.DISCORD_TOKEN;
export const DISCORD_GUILD = process.env.DISCORD_GUILD;