diff --git a/libs/remix-url-resolver/src/resolve.ts b/libs/remix-url-resolver/src/resolve.ts index 38076686a2..c139bbc803 100644 --- a/libs/remix-url-resolver/src/resolve.ts +++ b/libs/remix-url-resolver/src/resolve.ts @@ -117,7 +117,7 @@ export class RemixURLResolver { // If you don't find greeter.sol on ipfs gateway use local // const req = 'http://localhost:8080/' + url const response: AxiosResponse = await axios.get(req) - return { content: response.data, cleanUrl: url } + return { content: response.data, cleanUrl: url.replace('ipfs/', '') } } catch (e) { throw e }