X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=server%2Fhelpers%2Flogger.ts;h=2676133db30df6c258e016990df50205a4cdbce2;hb=57a49263e48739c31cd339730ac4cb24e3d5d723;hp=d8f2f687cb372b5169774ede5b8e5b0bb7ed8b41;hpb=4d4e5cd4dca78480ec7f40e747f424cd107376a4;p=oweals%2Fpeertube.git diff --git a/server/helpers/logger.ts b/server/helpers/logger.ts index d8f2f687c..2676133db 100644 --- a/server/helpers/logger.ts +++ b/server/helpers/logger.ts @@ -2,9 +2,7 @@ import * as mkdirp from 'mkdirp' import * as path from 'path' import * as winston from 'winston' - -// Do not use barrel (dependencies issues) -import { CONFIG } from '../initializers/constants' +import { CONFIG } from '../initializers' const label = CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT