Skip to content

Commit 8e2e2ad

Browse files
committed
chore: update outdated browser page url
1 parent 4bdd300 commit 8e2e2ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const scripts = (options.scripts || []).map(script => {
6060
<style>.unsupported-browser { display: none; }</style>
6161
<div class="unsupported-browser">
6262
Sorry, your browser is not supported. Please upgrade to the latest version or switch your browser to use this
63-
site. See <a href="http://outdatedbrowser.com/" rel="noopener noreferrer">outdatedbrowser.com</a> for options.
63+
site. See <a href="https://bestvpn.org/outdatedbrowser/" rel="noopener noreferrer">outdatedbrowser.com</a> for options.
6464
</div><%
6565
} %><%
6666
if (bodyHtmlSnippet) { %>

spec/index.spec.js

+1
Original file line numberDiff line numberDiff line change
@@ -200,5 +200,6 @@ describe('HtmlWebpackTemplate', () => {
200200
};
201201
const html = await compile(config);
202202
expect(html).toMatch(/<div class="unsupported-browser">/);
203+
expect(html).toMatch(/<a href="https:\/\/bestvpn\.org\/outdatedbrowser\/" rel="noopener noreferrer">/);
203204
});
204205
});

0 commit comments

Comments
 (0)