Skip to content

Commit

Permalink
fix remix-ide npm module
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Mar 4, 2019
1 parent a0f7af9 commit 10b682a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/remix-ide
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ var server = httpServer.createServer({
var folder = process.argv.length > 2 ? process.argv[2] : process.cwd()

server.listen(8080, '127.0.0.1', function () {})
var router = new remixd.Router(65520, remixd.services.sharedFolder, (webSocket) => {
var router = new remixd.Router(65520, remixd.services.sharedFolder, { remixIdeUrl: 'http://localhost:8080' }, (webSocket) => {
remixd.services.sharedFolder.setWebSocket(webSocket)
remixd.services.sharedFolder.setupNotifications(folder)
remixd.services.sharedFolder.sharedFolder(folder)
remixd.services.sharedFolder.sharedFolder(folder, false)
})

router.start()
Expand Down

0 comments on commit 10b682a

Please sign in to comment.