🐛 fix default endpoint

This commit is contained in:
Flam3rboy 2021-05-25 01:10:00 +02:00
parent 26e709921f
commit d24003eda4

View File

@ -26,7 +26,7 @@ export interface RateLimitOptions {
export interface DefaultOptions { export interface DefaultOptions {
gateway: { gateway: {
endpoint: string; endpoint: string | null;
}; };
general: { general: {
instance_id: string; instance_id: string;
@ -114,7 +114,7 @@ export interface DefaultOptions {
export const DefaultOptions: DefaultOptions = { export const DefaultOptions: DefaultOptions = {
gateway: { gateway: {
endpoint: "ws://localhost:3001", endpoint: null,
}, },
general: { general: {
instance_id: Snowflake.generate(), instance_id: Snowflake.generate(),