Return baseURL from startHTTPServer() test support function

Since it should almost always just be `http://localhost:${port}/`
This commit is contained in:
Dan Stillman 2024-04-20 06:11:59 -04:00
parent 8b13f717b4
commit 9ffb430207

View file

@ -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 };
}