Skip to content

Commit

Permalink
Support gnirehtet and preWarmServer (#4277)
Browse files Browse the repository at this point in the history
* Support gnirehtet adn preWarmServer

* fix
  • Loading branch information
soulgalore committed Sep 16, 2024
1 parent be0f00a commit e07a250
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/plugins/browsertime/analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ async function preWarmServer(urls, options, scriptOrMultiple) {
}
}

if (options.gnirehtet) {
preWarmOptions.gnirehtet = options.gnirehtet;
}

const engine = new BrowsertimeEngine(preWarmOptions);

await engine.start();
Expand Down

0 comments on commit e07a250

Please sign in to comment.