Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
456283e3
Commit
456283e3
authored
Sep 22, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added comments for unsupported origins
parent
681de1d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
remixd.ts
bin/remixd.ts
+2
-0
No files found.
bin/remixd.ts
View file @
456283e3
...
...
@@ -27,9 +27,11 @@ import * as path from 'path'
}
const
isValid
=
await
isValidOrigin
(
program
.
remixIde
)
/* Allow unsupported domains for users running remixd without fetched origin.json file. */
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'
,
'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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment