mirror of
https://github.com/zotero/zotero.git
synced 2026-09-07 08:26:14 +00:00
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…
Add table
Reference in a new issue