mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-08 05:56:38 +00:00
refactor and reorganize
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import "winston-daily-rotate-file";
|
||||
import config from "@server/config";
|
||||
import config from "@server/lib/config";
|
||||
import * as winston from "winston";
|
||||
import path from "path";
|
||||
import { APP_PATH } from "./consts";
|
||||
import { APP_PATH } from "./lib/consts";
|
||||
|
||||
const hformat = winston.format.printf(
|
||||
({ level, label, message, timestamp, stack, ...metadata }) => {
|
||||
|
||||
Reference in New Issue
Block a user