Fix nuxt3 issues (#1035)

* Fix nuxt3 issues

* fix unintentional npm use
This commit is contained in:
Geometrically authored and GitHub committed 2023-03-10 14:51:48 -07:00
1 parent 3825575f70
commit ba220abbbf
6 files changed
+822 -826

No files matched your search

+2 -1
View File
@@ -103,8 +103,9 @@ export const md = (options = {}) => {
if (index !== -1) {
const src = token.attrs[index][1]
const url = new URL(src)
try {
const url = new URL(src)
const allowedHostnames = [
'i.imgur.com',
'cdn-raw.modrinth.com',