parameterise server url
This commit is contained in:
parent
ae0cf8b14b
commit
fd3ab5bfd4
|
|
@ -125,6 +125,8 @@ export async function installRootRedirect(server: HttpServer, traceUrls: string[
|
|||
for (const reporter of options.reporter || [])
|
||||
params.append('reporter', reporter);
|
||||
|
||||
params.set('server', server.urlPrefix('precise'));
|
||||
|
||||
const urlPath = `./trace/${options.webApp || 'index.html'}?${params.toString()}`;
|
||||
server.routePath('/', (_, response) => {
|
||||
response.statusCode = 302;
|
||||
|
|
|
|||
Loading…
Reference in a new issue