diff --git a/webapp/components/navbar.jsx b/webapp/components/navbar.jsx index de840c7..0e1afdb 100644 --- a/webapp/components/navbar.jsx +++ b/webapp/components/navbar.jsx @@ -11,9 +11,11 @@ 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 = /^\/ipns\/(?:Qm[1-9A-HJ-NP-Za-km-z]{44}|[^.]+\.[^.]+)/.test( window.location.pathname - ) + ) || /^\/ipfs\/Qm[1-9A-HJ-NP-Za-km-z]{44}/.test( + window.location.pathname + ); if (v !== '/ipns/boards.ydns.eu/' || !gateway) { this.setState({ update: true }) }