1
0
mirror of https://github.com/fazo96/ipfs-boards synced 2025-01-24 14:44:19 +01:00
This commit is contained in:
Enrico Fasoli 2015-12-23 09:53:18 +01:00
parent 07e4342899
commit 5a18fd8f2d

View File

@ -12,7 +12,7 @@ var Updater = React.createClass({
checkForUpdates () {
var v = window.location.pathname
var gateway = window.location.pathname.indexOf('/ipfs/') === 0 || window.location.pathname.indexOf('/ipns/') === 0
if (v !== '/ipns/boards.ydns.eu' || !gateway) {
if (v !== '/ipns/boards.ydns.eu/' || !gateway) {
this.setState({ update: true })
}
},