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
31b58fb4
Unverified
Commit
31b58fb4
authored
Apr 19, 2018
by
yann300
Committed by
GitHub
Apr 19, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1268 from ethereum/yann300-patch-3
use path.join
parents
d22559a6
45f9242a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.js
embark/index.js
+2
-2
No files found.
embark/index.js
View file @
31b58fb4
...
...
@@ -3,7 +3,7 @@ var remixd = require('remixd')
module
.
exports
=
(
embark
)
=>
{
var
server
=
httpServer
.
createServer
({
root
:
__dirname
+
'/node_modules/remix-ide'
root
:
path
.
join
(
__dirname
,
'/node_modules/remix-ide'
)
})
embark
.
registerServiceCheck
(
'Remix IDE'
,
(
cb
)
=>
{
...
...
@@ -12,5 +12,5 @@ module.exports = (embark) => {
server
.
listen
(
8080
,
'127.0.0.1'
,
function
()
{})
var
router
=
new
remixd
.
Router
()
router
.
start
(
__dirname
+
'/../../'
)
router
.
start
(
path
.
join
(
__dirname
,
'/../../'
)
)
}
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