mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
Fix 'URL is not defined' in MFM (#2782)
This commit is contained in:
parent
a7dc1d043e
commit
4c1eed8002
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
const parse5 = require('parse5');
|
||||
import { URL } from 'url';
|
||||
|
||||
export default function(html: string): string {
|
||||
if (html == null) return null;
|
||||
|
|
Loading…
Reference in a new issue