mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-05 02:24:59 +02:00
make config class and separate migrations script
This commit is contained in:
parent
b199595100
commit
9732098799
45 changed files with 163 additions and 156 deletions
|
@ -3,7 +3,7 @@ import { readFileSync } from "fs";
|
|||
import { db } from "@server/db";
|
||||
import { exitNodes, sites } from "./schema";
|
||||
import { eq, and } from "drizzle-orm";
|
||||
import { __DIRNAME } from "@server/config";
|
||||
import { __DIRNAME } from "@server/consts";
|
||||
|
||||
// Load the names from the names.json file
|
||||
const dev = process.env.ENVIRONMENT !== "prod";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue