From 70da7e23318d6ee80e4a3dce0cec8ba89e271244 Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Mon, 4 Jul 2022 15:32:35 +0200 Subject: [PATCH] Replaced portal wording in terminal output --- apps/comments-ui/scripts/dev-mode.js | 6 +++--- apps/comments-ui/scripts/start-mode.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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` } };