aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-10 17:04:09 +0100
committerChocobozzz <me@florianbigard.com>2020-11-10 17:04:09 +0100
commitadbf1ed8c4094ab5e281f69f045dba607c1d14b6 (patch)
tree96d5946181c80926b0c53c9b043d974eadcd7746 /server/initializers/constants.ts
parentb9da21bd5a3ad00f44997930391e3316182a07db (diff)
downloadPeerTube-adbf1ed8c4094ab5e281f69f045dba607c1d14b6.tar.gz
PeerTube-adbf1ed8c4094ab5e281f69f045dba607c1d14b6.tar.zst
PeerTube-adbf1ed8c4094ab5e281f69f045dba607c1d14b6.zip
Use our implementation of randomInt
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 6ab4d957a..501e06396 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -1,5 +1,6 @@
1import { randomInt } from '../../shared/core-utils/miscs/miscs'
1import { CronRepeatOptions, EveryRepeatOptions } from 'bull' 2import { CronRepeatOptions, EveryRepeatOptions } from 'bull'
2import { randomBytes, randomInt } from 'crypto' 3import { randomBytes } from 'crypto'
3import { invert } from 'lodash' 4import { invert } from 'lodash'
4import { join } from 'path' 5import { join } from 'path'
5import { 6import {