From 21c9fe2de904eb8581fee5b66d26ef4006d644a7 Mon Sep 17 00:00:00 2001 From: Harry <409H@users.noreply.github.com> Date: Thu, 29 Sep 2022 06:38:23 +0100 Subject: [PATCH] Change endpoint to always use latest build of the phishing warning (#16026) Co-authored-by: ryanml --- development/build/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/build/scripts.js b/development/build/scripts.js index de5fd260c..3ccaace8e 100644 --- a/development/build/scripts.js +++ b/development/build/scripts.js @@ -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