add timestamp to url

pull/2816/head
bunsenstraat 2 years ago committed by Aniket
parent aa6dbc994c
commit 7aa74b20ff
  1. 2
      apps/remix-ide/src/app/plugins/parser/code-parser.tsx

@ -118,6 +118,8 @@ export class CodeParser extends Plugin {
}) })
this.on('solidity', 'loadingCompiler', async (url) => { this.on('solidity', 'loadingCompiler', async (url) => {
// add timestamp to avoid caching
url = url + '?t=' + Date.now()
this.compilerService.compiler.loadVersion(true, url) this.compilerService.compiler.loadVersion(true, url)
}) })

Loading…
Cancel
Save