Skip to content

Commit

Permalink
fix: fix error if config.json does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
sakkke committed Apr 8, 2024
1 parent de07bd6 commit 79e060b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server.ts
Original file line number Diff line number Diff line change
@@ -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()
Expand Down

0 comments on commit 79e060b

Please sign in to comment.