cleaning UI links to localhost only

This commit is contained in:
msramalho
2022-02-16 12:27:20 +01:00
parent 0155830cad
commit 854d744806
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ import fetch from 'node-fetch'
import childProcess from 'child_process' import childProcess from 'child_process'
const SERVER_LAUNCH_WAIT_TIME = 10 * 1000 const SERVER_LAUNCH_WAIT_TIME = 10 * 1000
const SERVER_ROOT = 'http://localhost:4040' const SERVER_ROOT = ''
let serverProc = null let serverProc = null
let serverExited = false let serverExited = false
function checkStatus (res) { function checkStatus (res) {

View File

@@ -8,7 +8,7 @@
<div class="bp-source">{{ source }}</div> <div class="bp-source">{{ source }}</div>
</div> </div>
{{#each urls}} {{#each urls}}
<div><a target="_blank" href="http://localhost:4040{{ this }}">{{ this }}</a></div> <div><a target="_blank" href="{{ this }}">{{ this }}</a></div>
{{/each}} {{/each}}
</div> </div>
{{ else }} {{ else }}
@@ -16,7 +16,7 @@
{{/each}} {{/each}}
</div> </div>
<a class="bp-update-container" target="_blank" href="http://localhost:4040/api/update"> <a class="bp-update-container" target="_blank" href="/api/update">
<div class="bp-button">Update</div> <div class="bp-button">Update</div>
</div> </div>