Commit 456283e3 authored by ioedeveloper's avatar ioedeveloper

Added comments for unsupported origins

parent 681de1d1
...@@ -27,9 +27,11 @@ import * as path from 'path' ...@@ -27,9 +27,11 @@ import * as path from 'path'
} }
const isValid = await isValidOrigin(program.remixIde) const isValid = await isValidOrigin(program.remixIde)
/* Allow unsupported domains for users running remixd without fetched origin.json file. */
if (!isValid) { if (!isValid) {
console.log('\x1b[33m%s\x1b[0m', '[WARN] You are using IDE from an unsupported origin.') console.log('\x1b[33m%s\x1b[0m', '[WARN] You are using IDE from an unsupported origin.')
console.log('\x1b[33m%s\x1b[0m', 'Check https://gist.github.com/EthereumRemix/091ccc57986452bbb33f57abfb13d173 for list of all supported origins.\n') console.log('\x1b[33m%s\x1b[0m', 'Check https://gist.github.com/EthereumRemix/091ccc57986452bbb33f57abfb13d173 for list of all supported origins.\n')
// return
} }
console.log('\x1b[33m%s\x1b[0m', '[WARN] You may now only use IDE at ' + program.remixIde + ' to connect to that instance') console.log('\x1b[33m%s\x1b[0m', '[WARN] You may now only use IDE at ' + program.remixIde + ' to connect to that instance')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment