drizzle behind corporate proxy

is there an easy way to patch drizzles fetch to use proxy? (js)
6 Replies
rphlmr âš¡
rphlmr ⚡•5mo ago
👋 what is your db/provider? This sound more related to the driver you use
DreamingGod
DreamingGodOP•5mo ago
sqlite - turso import { createClient } from '@libsql/client' import { drizzle } from 'drizzle-orm/libsql' import * as schema from '../models' const client = createClient({ url: process.env.DATABASE_URL ?? '', authToken: process.env.DATABASE_AUTH_TOKEN, }) export const db = drizzle(client, { schema })
rphlmr âš¡
rphlmr ⚡•5mo ago
GitHub
libsql-client-ts/packages/libsql-core/src/config.ts at 2f610d7dd2ca...
TypeScript/JavaScript client API for libSQL. Contribute to tursodatabase/libsql-client-ts development by creating an account on GitHub.
rphlmr âš¡
rphlmr ⚡•5mo ago
the simple solution would be to ask for your IT support to allow a bypass on your db url 😬
DreamingGod
DreamingGodOP•5mo ago
thanks! i will have a look forgot to send update, but it works, thanks again 🙂
rphlmr âš¡
rphlmr ⚡•5mo ago
Nice!
Want results from more Discord servers?
Add your server