small changes

This commit is contained in:
Milo Schwartz 2024-09-27 21:49:52 -04:00
parent f415f6750a
commit b224191a55
No known key found for this signature in database
4 changed files with 3 additions and 5 deletions

View file

@ -1,6 +1,6 @@
import { drizzle } from "drizzle-orm/better-sqlite3";
import Database from "better-sqlite3";
import * as schema from "./schema";
import * as schema from "@server/db/schema";
import environment from "@server/environment";
const sqlite = new Database(`${environment.CONFIG_PATH}/db/db.sqlite`);

View file

@ -1,8 +1,8 @@
import express, { Request, Response } from "express";
import next from "next";
import { parse } from "url";
import environment from "./environment";
import logger from "@/server/logger";
import environment from "@server/environment";
import logger from "@server/logger";
import helmet from "helmet";
import cors from "cors";
import unauth from "@server/routers/unauth";