0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Updated dev url

refs https://github.com/TryGhost/Team/issues/1664
This commit is contained in:
Rishabh 2022-07-04 15:22:10 +02:00
parent 4e17ab2368
commit 6082a1a932
2 changed files with 5 additions and 5 deletions

View file

@ -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: [
{

View file

@ -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: [
{