mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-26 06:46:40 +00:00
disable helmet and add esbuild
This commit is contained in:
@@ -4,9 +4,9 @@ import * as schema from "@server/db/schema";
|
||||
import environment from "@server/environment";
|
||||
import path from "path";
|
||||
|
||||
const sqlite = new Database(
|
||||
path.join(environment.CONFIG_PATH, "db", "db.sqlite"),
|
||||
);
|
||||
const location = path.join(environment.CONFIG_PATH, "db", "db.sqlite");
|
||||
|
||||
const sqlite = new Database(location);
|
||||
export const db = drizzle(sqlite, { schema });
|
||||
|
||||
export default db;
|
||||
|
||||
Reference in New Issue
Block a user