diff --git a/lib/commands/docs/start.js b/lib/commands/docs/start.js index df965aeb..380d71d3 100644 --- a/lib/commands/docs/start.js +++ b/lib/commands/docs/start.js @@ -42,11 +42,14 @@ export default class extends Command { const server = new Server().directory( "/", location ); - const res = await server.start( { "port": process.cli.options.port || 0 } ); + const res = await server.start( { + "address": "localhost", + "port": process.cli.options.port || 0, + } ); if ( !res.ok ) return res; - const url = `http://localhost:${ res.data.port }`; + const url = `http://localhost:${ res.data.port }/`; console.log( ` Serving: ${ location }