From 2ed9173277e4504de8c1aea4c1320e46789894c2 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Sun, 15 Oct 2023 14:18:29 -0400 Subject: Finish headers --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index 4d0821c..9a481e6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import postgres from "postgres"; import { get_home, get_id, get_create } from "./get"; import { post_c } from "./post"; -const sql = postgres(); +const sql = postgres(`postgres://postgres:password@localhost:5432/postgres`); const app = new Elysia() .get("/", ({ headers }) => get_home({ headers: headers })) -- cgit v1.2.3