news-analyze/server/components/postgres.ts
2025-05-13 23:20:38 +08:00

5 lines
114 B
TypeScript

import SQL from "postgres";
const postgres = SQL(`${process.env.POSTGRES_URL || ""}`);
export default postgres;