Skip to content

Commit

Permalink
benchmark.js: update Will Peavy and HTMLCompressor POST URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Oct 10, 2021
1 parent 3022396 commit a90e36f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ run(fileNames.map(function(fileName) {

function testWillPeavy(done) {
readText(filePath, function(data) {
var options = url.parse('https://www.willpeavy.com/minifier/');
var options = url.parse('https://www.willpeavy.com/tools/minifier/');
options.method = 'POST';
options.headers = {
'Content-Type': 'application/x-www-form-urlencoded'
Expand Down Expand Up @@ -335,7 +335,7 @@ run(fileNames.map(function(fileName) {

function testHTMLCompressor(done) {
readText(filePath, function(data) {
var options = url.parse('https://htmlcompressor.com/compress_ajax_v2.php');
var options = url.parse('https://htmlcompressor.com/compress');
options.method = 'POST';
options.headers = {
'Accept-Encoding': 'gzip',
Expand Down

0 comments on commit a90e36f

Please sign in to comment.