summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-25 01:10:00 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-25 01:10:00 +0200
commitd24003eda4ff72a00e81cd191ca758c5007d9617 (patch)
treea9e484f96af09e7a30c10b9b1b2a8099b82c252e /src/util
parent1.3.2 (diff)
downloadserver-d24003eda4ff72a00e81cd191ca758c5007d9617.tar.xz
:bug: fix default endpoint
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Config.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/Config.ts b/src/util/Config.ts
index a8a610fa..d0ef8121 100644
--- a/src/util/Config.ts
+++ b/src/util/Config.ts
@@ -26,7 +26,7 @@ export interface RateLimitOptions {
 
 export interface DefaultOptions {
 	gateway: {
-		endpoint: string;
+		endpoint: string | null;
 	};
 	general: {
 		instance_id: string;
@@ -114,7 +114,7 @@ export interface DefaultOptions {
 
 export const DefaultOptions: DefaultOptions = {
 	gateway: {
-		endpoint: "ws://localhost:3001",
+		endpoint: null,
 	},
 	general: {
 		instance_id: Snowflake.generate(),