Return baseURL
from startHTTPServer()
test support function
Since it should almost always just be `http://localhost:${port}/`
This commit is contained in:
parent
8b13f717b4
commit
9ffb430207
1 changed files with 2 additions and 1 deletions
|
@ -1112,5 +1112,6 @@ async function startHTTPServer(port = null) {
|
|||
await Zotero.Promise.delay(10);
|
||||
}
|
||||
}
|
||||
return { httpd, port };
|
||||
var baseURL = `http://localhost:${port}/`
|
||||
return { httpd, port, baseURL };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue