mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-30 23:55:49 +02:00
small changes
This commit is contained in:
parent
f415f6750a
commit
b224191a55
4 changed files with 3 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -19,7 +19,6 @@ next-env.d.ts
|
|||
*.db
|
||||
*.sqlite
|
||||
*.sqlite3
|
||||
package-lock.json
|
||||
*.log
|
||||
.machinelogs*.json
|
||||
*-audit.json
|
||||
|
|
|
@ -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`);
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
"incremental": true,
|
||||
"baseUrl": "src",
|
||||
"paths": {
|
||||
"@/*": ["../*"],
|
||||
"@server/*": ["../server/*"],
|
||||
"@app/*": ["*"]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue