0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Replaced portal wording in terminal output

This commit is contained in:
Simon Backx 2022-07-04 15:32:35 +02:00
parent 6082a1a932
commit 70da7e2331
2 changed files with 4 additions and 4 deletions

View file

@ -90,7 +90,7 @@ function printBuildComplete(code) {
function printConfigInstruction() { function printConfigInstruction() {
const data = { const data = {
portal: { comments: {
url: `http://localhost:${port}/comments` url: `http://localhost:${port}/comments`
} }
}; };
@ -109,7 +109,7 @@ function printConfigInstruction() {
function printInstructions() { function printInstructions() {
log(); log();
log(chalk.yellowBright.underline(`Add portal to your local Ghost config`)); log(chalk.yellowBright.underline(`Add comments to your local Ghost config`));
printConfigInstruction(); printConfigInstruction();
log(chalk.cyanBright('='.repeat(50))); log(chalk.cyanBright('='.repeat(50)));
log(); log();
@ -210,7 +210,7 @@ function startDevServer() {
}); });
server.listen(port, () => { 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(); printInstructions();
watchFiles(); watchFiles();
}); });

View file

@ -28,7 +28,7 @@ function clearConsole({withHistory = true} = {}) {
function printConfigInstruction() { function printConfigInstruction() {
const data = { const data = {
portal: { comments: {
url: `http://localhost:${port}/comments` url: `http://localhost:${port}/comments`
} }
}; };