diff --git a/src/server.ts b/src/server.ts index d9c3a3f..a5058dd 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,6 +1,8 @@ import { serve } from 'bun' import { Hono } from 'hono' import { createBot, createProxy } from './index' +// fix error if config.json does not exist +// @ts-ignore import { client_id, client_secret, discord_guild_id, discord_token, oauth2_callback, oauth2_endpoint, port } from '../config.json' const app = new Hono()