Skip to content

Commit 54613a8

Browse files
committed
remove throw error on server if api key not set
1 parent f4d397a commit 54613a8

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/server/helpers/config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ const PORT = Bun.env.VITE_PORT ? Number.parseInt(Bun.env.VITE_PORT) : 3000;
66

77
const API_KEY = Bun.env.VITE_API_KEY;
88

9-
if (!API_KEY) {
10-
throw new Error("Required env var VITE_API_KEY is not set");
11-
}
12-
139
export const Config = {
1410
IS_PROD,
1511
PORT,

0 commit comments

Comments
 (0)