Skip to content

Commit a3d11b0

Browse files
committed
fix build
1 parent 355730d commit a3d11b0

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/app/lib/db/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ import * as schema from "./schema";
1717
const dbURL =
1818
process.env.NODE_ENV === "test" ? ":memory:" : process.env.TURSO_DATABASE_URL;
1919

20-
if (process.env.NODE_ENV !== "test" && !dbURL) {
21-
throw new Error("TURSO_DATABASE_URL environment variable is not set");
22-
}
23-
2420
const client = createClient({
2521
url: dbURL,
2622
authToken: process.env.TURSO_AUTH_TOKEN,

0 commit comments

Comments
 (0)