diff --git a/apps/comments-ui/scripts/dev-mode.js b/apps/comments-ui/scripts/dev-mode.js index e394269fee..cd25a74961 100644 --- a/apps/comments-ui/scripts/dev-mode.js +++ b/apps/comments-ui/scripts/dev-mode.js @@ -90,7 +90,7 @@ function printBuildComplete(code) { function printConfigInstruction() { const data = { - portal: { + comments: { url: `http://localhost:${port}/comments` } }; @@ -109,7 +109,7 @@ function printConfigInstruction() { function printInstructions() { log(); - log(chalk.yellowBright.underline(`Add portal to your local Ghost config`)); + log(chalk.yellowBright.underline(`Add comments to your local Ghost config`)); printConfigInstruction(); log(chalk.cyanBright('='.repeat(50))); log(); @@ -210,7 +210,7 @@ function startDevServer() { }); server.listen(port, () => { - log(chalk.whiteBright(`Portal dev server is running on http://localhost:${port}`)); + log(chalk.whiteBright(`Comments dev server is running on http://localhost:${port}`)); printInstructions(); watchFiles(); }); diff --git a/apps/comments-ui/scripts/start-mode.js b/apps/comments-ui/scripts/start-mode.js index 858aec5ed4..b41464a05a 100644 --- a/apps/comments-ui/scripts/start-mode.js +++ b/apps/comments-ui/scripts/start-mode.js @@ -28,7 +28,7 @@ function clearConsole({withHistory = true} = {}) { function printConfigInstruction() { const data = { - portal: { + comments: { url: `http://localhost:${port}/comments` } };