修改 import undici

This commit is contained in:
whyour 2025-05-15 01:19:24 +08:00
parent 5459b72f63
commit 95459c33ed
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import path, { join } from 'path';
import config from '../config'; import config from '../config';
import { getFileContentByName } from '../config/util'; import { getFileContentByName } from '../config/util';
import { Response } from 'express'; import { Response } from 'express';
import { request } from 'Undici'; import { request } from 'undici';
@Service() @Service()
export default class ConfigService { export default class ConfigService {

View File

@ -1,7 +1,7 @@
import { spawn } from 'cross-spawn'; import { spawn } from 'cross-spawn';
import { Response } from 'express'; import { Response } from 'express';
import fs from 'fs'; import fs from 'fs';
import { Agent, request } from 'Undici'; import { Agent, request } from 'undici';
import sum from 'lodash/sum'; import sum from 'lodash/sum';
import path from 'path'; import path from 'path';
import { Inject, Service } from 'typedi'; import { Inject, Service } from 'typedi';