bridge: fix naming of env variable

This commit is contained in:
hippoz 2022-10-30 23:16:03 +02:00
parent 09ecdf6cda
commit c118306ceb
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -1,7 +1,7 @@
import * as dotenv from "dotenv"; import * as dotenv from "dotenv";
dotenv.config(); dotenv.config();
export const WAFFLE_API_BASE = process.env.WAFFLE_BASE ?? "http://localhost:3000/api/v1"; export const WAFFLE_API_BASE = process.env.WAFFLE_API_BASE ?? "http://localhost:3000/api/v1";
export const WAFFLE_GATEWAY_BASE = process.env.WAFFLE_GATEWAY_BASE ?? "ws://localhost:3000/gateway"; export const WAFFLE_GATEWAY_BASE = process.env.WAFFLE_GATEWAY_BASE ?? "ws://localhost:3000/gateway";
export const WAFFLE_TOKEN = process.env.WAFFLE_TOKEN; export const WAFFLE_TOKEN = process.env.WAFFLE_TOKEN;
export const DISCORD_TOKEN = process.env.DISCORD_TOKEN; export const DISCORD_TOKEN = process.env.DISCORD_TOKEN;