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'
const SERVER_LAUNCH_WAIT_TIME = 10 * 1000
const SERVER_ROOT = 'http://localhost:4040'
const SERVER_ROOT = ''
let serverProc = null
let serverExited = false
function checkStatus (res) {

View File

@@ -8,7 +8,7 @@
<div class="bp-source">{{ source }}</div>
</div>
{{#each urls}}
<div><a target="_blank" href="http://localhost:4040{{ this }}">{{ this }}</a></div>
<div><a target="_blank" href="{{ this }}">{{ this }}</a></div>
{{/each}}
</div>
{{ else }}
@@ -16,7 +16,7 @@
{{/each}}
</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>