aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-10-15 14:18:29 -0400
committerShav Kinderlehrer <[email protected]>2023-10-15 14:18:29 -0400
commit2ed9173277e4504de8c1aea4c1320e46789894c2 (patch)
tree499c058da0b785772c526561946d8cd4f4f7de21 /src/index.ts
parent7ac3362d02d52b7ec18746a901a768203604529c (diff)
downloadurl-shortener-2ed9173277e4504de8c1aea4c1320e46789894c2.tar.gz
url-shortener-2ed9173277e4504de8c1aea4c1320e46789894c2.zip
Finish headers
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
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 }))