@vpalmisano/webrtcperf 4.6.1 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.min.js +1 -1
- package/build/src/scenarios.d.ts +1 -1
- package/build/src/scenarios.js +1 -1
- package/build/src/scenarios.js.map +1 -1
- package/build/src/server.js +5 -5
- package/build/src/server.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/scenarios.ts +1 -1
- package/src/server.ts +5 -5
package/package.json
CHANGED
package/src/scenarios.ts
CHANGED
|
@@ -259,7 +259,7 @@ export async function plotStatsSummary(stats: StatsSummary[]) {
|
|
|
259
259
|
export async function twoParticipantsWithRateLossDelay(
|
|
260
260
|
id: string,
|
|
261
261
|
{ rate, loss, delay, direction }: { rate: number; loss: number; delay: number; direction: ThrottleDirection },
|
|
262
|
-
repeat
|
|
262
|
+
repeat = 1,
|
|
263
263
|
) {
|
|
264
264
|
const throttle: ThrottleConfig = {}
|
|
265
265
|
const queue = 25
|
package/src/server.ts
CHANGED
|
@@ -241,7 +241,7 @@ export class Server {
|
|
|
241
241
|
throw new Error(`Session not found: "${sessionId}"`)
|
|
242
242
|
}
|
|
243
243
|
const filePath = await session.pageScreenshot(pageId, format)
|
|
244
|
-
res.sendFile(path.resolve(filePath))
|
|
244
|
+
res.sendFile(path.resolve(filePath), { dotfiles: 'allow' })
|
|
245
245
|
} catch (err) {
|
|
246
246
|
next(err)
|
|
247
247
|
}
|
|
@@ -365,7 +365,7 @@ export class Server {
|
|
|
365
365
|
if (req.query.range && !req.headers.range) {
|
|
366
366
|
req.headers.range = `bytes=${req.query.range}`
|
|
367
367
|
}
|
|
368
|
-
res.sendFile(path.resolve(this.pageLogPath))
|
|
368
|
+
res.sendFile(path.resolve(this.pageLogPath), { dotfiles: 'allow' })
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
/**
|
|
@@ -386,7 +386,7 @@ export class Server {
|
|
|
386
386
|
if (req.query.range && !req.headers.range) {
|
|
387
387
|
req.headers.range = `bytes=${req.query.range}`
|
|
388
388
|
}
|
|
389
|
-
res.sendFile(path.resolve(logPath))
|
|
389
|
+
res.sendFile(path.resolve(logPath), { dotfiles: 'allow' })
|
|
390
390
|
} catch (err) {
|
|
391
391
|
next(err)
|
|
392
392
|
}
|
|
@@ -441,7 +441,7 @@ export class Server {
|
|
|
441
441
|
if (req.query.range && !req.headers.range) {
|
|
442
442
|
req.headers.range = `bytes=${req.query.range}`
|
|
443
443
|
}
|
|
444
|
-
res.sendFile(fpath)
|
|
444
|
+
res.sendFile(fpath, { dotfiles: 'allow' })
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
private getDataArchive(req: express.Request, res: express.Response, next: express.NextFunction): void {
|
|
@@ -465,7 +465,7 @@ export class Server {
|
|
|
465
465
|
if (req.query.range && !req.headers.range) {
|
|
466
466
|
req.headers.range = `bytes=${req.query.range}`
|
|
467
467
|
}
|
|
468
|
-
res.sendFile(fpath)
|
|
468
|
+
res.sendFile(fpath, { dotfiles: 'allow' })
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
/**
|