1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Change endpoint to always use latest build of the phishing warning (#16026)

Co-authored-by: ryanml <ryanlanese@gmail.com>
This commit is contained in:
Harry 2022-09-29 06:38:23 +01:00 committed by GitHub
parent 7b94ac5eca
commit 21c9fe2de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ function getPhishingWarningPageUrl({ config, testing }) {
if (!phishingWarningPageUrl) {
phishingWarningPageUrl = testing
? 'http://localhost:9999/'
: 'https://metamask.github.io/phishing-warning/v1.1.0/';
: 'https://metamask.github.io/phishing-warning/latest/';
}
// We add a hash/fragment to the URL dynamically, so we need to ensure it