Skip to content

Commit 157bba3

Browse files
committed
return correct data
1 parent 1887189 commit 157bba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/remix-url-resolver/src/resolve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class RemixURLResolver {
128128
// const req = 'http://localhost:8080/' + url
129129
const response: any = await fetch(req)
130130
const data = await response.text()
131-
return { content: response.data, cleanUrl: url.replace('ipfs/', '') }
131+
return { content: data, cleanUrl: url.replace('ipfs/', '') }
132132
} catch (e) {
133133
throw e
134134
}

0 commit comments

Comments
 (0)