mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
Fix bug : "IPCIDR is not a constructor" (#8400)
This commit is contained in:
parent
05608a3a9f
commit
5cf8a1141a
@ -6,7 +6,7 @@ import { httpAgent, httpsAgent, StatusError } from './fetch.js';
|
|||||||
import config from '@/config/index.js';
|
import config from '@/config/index.js';
|
||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
import Logger from '@/services/logger.js';
|
import Logger from '@/services/logger.js';
|
||||||
import * as IPCIDR from 'ip-cidr';
|
import IPCIDR from 'ip-cidr';
|
||||||
import PrivateIp from 'private-ip';
|
import PrivateIp from 'private-ip';
|
||||||
|
|
||||||
const pipeline = util.promisify(stream.pipeline);
|
const pipeline = util.promisify(stream.pipeline);
|
||||||
|
Loading…
Reference in New Issue
Block a user