mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-08-17 09:20:26 +03:00
Don't import all lodash
This commit is contained in:
parent
59c18bb1a1
commit
9784e93dc7
@ -1,12 +1,12 @@
|
||||
import { CONFIG } from '@server/initializers/config.js'
|
||||
import { pathExists } from 'fs-extra/esm'
|
||||
import { writeFile } from 'fs/promises'
|
||||
import throttle from 'lodash-es/throttle.js'
|
||||
import maxmind, { CityResponse, CountryResponse, Reader } from 'maxmind'
|
||||
import { join } from 'path'
|
||||
import { CONFIG } from '@server/initializers/config.js'
|
||||
import { isArray } from './custom-validators/misc.js'
|
||||
import { logger, loggerTagsFactory } from './logger.js'
|
||||
import { isBinaryResponse, peertubeGot } from './requests.js'
|
||||
import { isArray } from './custom-validators/misc.js'
|
||||
import { throttle } from 'lodash-es'
|
||||
|
||||
const lTags = loggerTagsFactory('geo-ip')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user