Fix broken link to screenshots in meta data and Slack. (#3163)

As reported in https://github.com/sitespeedio/compare/issues/108
This commit is contained in:
Peter Hedenskog 2020-10-20 04:15:24 +02:00 committed by GitHub
parent 6ef6700407
commit 34bfaf8476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -202,9 +202,8 @@ module.exports = {
}
if (this.resultUrls.hasBaseUrl()) {
const base = this.resultUrls.absoluteSummaryPagePath(url);
_meta.screenshot = `${base}data/screenshots/${runIndex + 1}.${
this.screenshotType
}`;
_meta.screenshot = `${base}data/screenshots/${runIndex +
1}/afterPageCompleteCheck.${this.screenshotType}`;
_meta.result = `${base}${runIndex + 1}.html`;
if (options.video) {
_meta.video = `${base}data/video/${runIndex + 1}.mp4`;

View File

@ -168,7 +168,7 @@ module.exports = function(
if (resultUrls.hasBaseUrl()) {
attachement['image_url'] =
resultUrls.absoluteSummaryPagePath(url) +
'data/screenshots/0.' +
'data/screenshots/1/afterPageCompleteCheck.' +
screenshotType;
}