We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 355730d commit a3d11b0Copy full SHA for a3d11b0
1 file changed
src/app/lib/db/index.ts
@@ -17,10 +17,6 @@ import * as schema from "./schema";
17
const dbURL =
18
process.env.NODE_ENV === "test" ? ":memory:" : process.env.TURSO_DATABASE_URL;
19
20
-if (process.env.NODE_ENV !== "test" && !dbURL) {
21
- throw new Error("TURSO_DATABASE_URL environment variable is not set");
22
-}
23
-
24
const client = createClient({
25
url: dbURL,
26
authToken: process.env.TURSO_AUTH_TOKEN,
0 commit comments