add comment

This commit is contained in:
Simon Knott 2024-10-23 13:33:59 +02:00
parent 3b82e39d03
commit f32f9caaeb

View file

@ -128,7 +128,7 @@ export async function installRootRedirect(server: HttpServer, traceUrls: string[
let baseUrl = './trace/'; let baseUrl = './trace/';
if (process.env.PW_HMR === '1') { if (process.env.PW_HMR === '1') {
params.set('testServerPort', '' + server.port()); params.set('testServerPort', '' + server.port());
baseUrl = 'http://localhost:44223/'; baseUrl = 'http://localhost:44223/'; // port is hardcoded in build.js
} }
const urlPath = `${baseUrl}${options.webApp || 'index.html'}?${params.toString()}`; const urlPath = `${baseUrl}${options.webApp || 'index.html'}?${params.toString()}`;