chore: webui

This commit is contained in:
手瓜一十雪
2024-08-11 13:48:26 +08:00
parent aa12506221
commit 0b8dcbebe9
13 changed files with 63 additions and 86 deletions

View File

@@ -34,7 +34,6 @@ export class LogWrapper {
colorEscape = /\x1B[@-_][0-?]*[ -/]*[@-~]/g;
constructor(logDir: string) {
// logDir = path.join(path.resolve(__dirname), 'logs');
const filename = `${getFormattedTimestamp()}.log`;
const logPath = path.join(logDir, filename);
this.logConfig = {