mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 21:54:28 -05:00
Explicitly import URL
With Yarn PnP, URL is seems to not automatically be part of the global scope. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
370c8e38cb
commit
8c238530a7
4 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,7 @@ import {
|
|||
IsUrl,
|
||||
ValidateNested,
|
||||
} from 'class-validator';
|
||||
import { URL } from 'url';
|
||||
|
||||
import { ServerVersion } from '../monitoring/server-status.dto';
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import { URL } from 'url';
|
||||
|
||||
import appConfiguration, { AppConfig } from '../config/app.config';
|
||||
import authConfiguration, { AuthConfig } from '../config/auth.config';
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import { Client } from 'minio';
|
||||
import { URL } from 'url';
|
||||
|
||||
import mediaConfiguration, { MediaConfig } from '../../config/media.config';
|
||||
import { MediaBackendError } from '../../errors/errors';
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import fetch, { Response } from 'node-fetch';
|
||||
import { URL } from 'url';
|
||||
|
||||
import mediaConfiguration, { MediaConfig } from '../../config/media.config';
|
||||
import { MediaBackendError } from '../../errors/errors';
|
||||
|
|
Loading…
Reference in a new issue