From 7a56bad7810e20fecaab2ce649d904db948f881d Mon Sep 17 00:00:00 2001 From: Mithgol the Webmaster Date: Sun, 24 Jan 2016 21:37:08 +0300 Subject: [PATCH] =?UTF-8?q?a=20domain=20name=20(at=C2=A0least=C2=A0two=20d?= =?UTF-8?q?ot-separated=20parts)=20might=C2=A0also=C2=A0appear?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/components/navbar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/components/navbar.jsx b/webapp/components/navbar.jsx index a803930..de840c7 100644 --- a/webapp/components/navbar.jsx +++ b/webapp/components/navbar.jsx @@ -11,7 +11,7 @@ var Updater = React.createClass({ }, checkForUpdates () { var v = window.location.pathname - var gateway = /^\/ip[fn]s\/Qm[1-9A-HJ-NP-Za-km-z]{44}/.test( + var gateway = /^\/ip[fn]s\/(?:Qm[1-9A-HJ-NP-Za-km-z]{44}|[^.]+\.[^.]+)/.test( window.location.pathname ) if (v !== '/ipns/boards.ydns.eu/' || !gateway) {