mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-26 23:06:37 +00:00
major ui tweaks and refactoring
This commit is contained in:
@@ -9,7 +9,7 @@ import { __DIRNAME } from "@server/lib/consts";
|
||||
const dev = process.env.ENVIRONMENT !== "prod";
|
||||
let file;
|
||||
if (!dev) {
|
||||
file = join("names.json");
|
||||
file = join(__DIRNAME, "names.json");
|
||||
} else {
|
||||
file = join("server/db/names.json");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user