mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Updated Ghost config URL for dev mode script
no refs - updates portal url for Ghost config to use a dynamic URL to work same as start mode script
This commit is contained in:
parent
596cef4df7
commit
7c5cb61ee5
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ function printBuildComplete(code) {
|
|||
function printConfigInstruction() {
|
||||
const data = {
|
||||
portal: {
|
||||
url: `http://localhost:${port}/umd/portal.min.js`
|
||||
url: `http://localhost:${port}/portal`
|
||||
}
|
||||
};
|
||||
const stringifedData = JSON.stringify(data, null, 2);
|
||||
|
@ -191,7 +191,7 @@ function startDevServer() {
|
|||
const server = http.createServer((request, response) => {
|
||||
return handler(request, response, {
|
||||
rewrites: [
|
||||
{source: '/portal', destination: 'umd/portal.min.js'}
|
||||
{source: '/portal', destination: 'umd/portal.min.js'},
|
||||
],
|
||||
headers: [
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue