diff --git a/apps/comments-ui/scripts/dev-mode.js b/apps/comments-ui/scripts/dev-mode.js index af93b2997a..e394269fee 100644 --- a/apps/comments-ui/scripts/dev-mode.js +++ b/apps/comments-ui/scripts/dev-mode.js @@ -91,7 +91,7 @@ function printBuildComplete(code) { function printConfigInstruction() { const data = { portal: { - url: `http://localhost:${port}/portal` + url: `http://localhost:${port}/comments` } }; const stringifedData = JSON.stringify(data, null, 2); @@ -191,8 +191,8 @@ function startDevServer() { const server = http.createServer((request, response) => { return handler(request, response, { rewrites: [ - {source: '/portal', destination: 'umd/portal.min.js'}, - {source: '/portal.min.js.map', destination: 'umd/portal.min.js.map'} + {source: '/comments', destination: 'umd/comments.min.js'}, + {source: '/comments-ui.min.js.map', destination: 'umd/comments.min.js.map'} ], headers: [ { diff --git a/apps/comments-ui/scripts/start-mode.js b/apps/comments-ui/scripts/start-mode.js index bd16cda53b..858aec5ed4 100644 --- a/apps/comments-ui/scripts/start-mode.js +++ b/apps/comments-ui/scripts/start-mode.js @@ -29,7 +29,7 @@ function clearConsole({withHistory = true} = {}) { function printConfigInstruction() { const data = { portal: { - url: `http://localhost:${port}/portal` + url: `http://localhost:${port}/comments` } }; const stringifedData = JSON.stringify(data, null, 2); @@ -123,7 +123,7 @@ function startDevServer() { const server = http.createServer((request, response) => { return handler(request, response, { rewrites: [ - {source: '/portal', destination: 'scripts/load-portal.js'} + {source: '/comments', destination: 'scripts/load-portal.js'} ], headers: [ {