message='An unexpected error occurred. Try visiting us later.'
40
40
action='Would you like to try another URL or report an issue?'
41
41
actionTitle='Try another URL'
42
-
host={normalizedUrl ?? ''}
42
+
host={displayUrl ?? ''}
43
43
/>
44
44
);
45
45
}
skipped 6 lines
52
52
message='The entered website appears to be protected by a third-party service, such as DDoS prevention, password protection or geolocation restrictions.'
53
53
action='Would you like to try another URL or report an issue?'
54
54
actionTitle='Try another URL'
55
-
host={normalizedUrl ?? ''}
55
+
host={displayUrl ?? ''}
56
56
/>
57
57
);
58
58
}
skipped 6 lines
65
65
message='It looks like the entered website is not built with Webpack.'
66
66
action='Would you like to try another URL or report an issue?'
67
67
actionTitle='Try another URL'
68
-
host={normalizedUrl ?? ''}
68
+
host={displayUrl ?? ''}
69
69
/>
70
70
);
71
71
}
72
72
73
-
const title = `List of NPM packages that are used on ${hostname} - GradeJS`;
73
+
const title = `List of NPM packages that are used on ${displayUrl} - GradeJS`;
74
74
const description =
75
-
`GradeJS has discovered ${packagesStats.total} NPM packages used on ${hostname}` +
75
+
`GradeJS has discovered ${packagesStats.total} NPM packages used on ${displayUrl}` +