Skip to content

Commit

Permalink
Expose repl
Browse files Browse the repository at this point in the history
  • Loading branch information
HDegroote committed Jan 6, 2024
1 parent 4564a87 commit 96721be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default async function setupRehostServer (
res.status(200).send(`Rehoster updated to new state at ${configPath}`)
})

const instrumentOpts = {}
const instrumentOpts = { launchRepl: true }
if (exposeSwarm) instrumentOpts.server = app

const instrumentedSwarm = new InstrumentedSwarm(rehoster.swarm, instrumentOpts)
Expand Down

0 comments on commit 96721be

Please sign in to comment.