Fix 'URL is not defined' in MFM (#2782)

This commit is contained in:
MeiMei 2018-09-28 20:54:14 +09:00 committed by syuilo
parent 77b441f14c
commit d5818214f3
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
const parse5 = require('parse5'); const parse5 = require('parse5');
import { URL } from 'url';
export default function(html: string): string { export default function(html: string): string {
if (html == null) return null; if (html == null) return null;