mirror of
https://github.com/fazo96/ipfs-boards
synced 2025-02-03 16:24:20 +01:00
fix typo
This commit is contained in:
parent
07e4342899
commit
5a18fd8f2d
@ -12,7 +12,7 @@ var Updater = React.createClass({
|
|||||||
checkForUpdates () {
|
checkForUpdates () {
|
||||||
var v = window.location.pathname
|
var v = window.location.pathname
|
||||||
var gateway = window.location.pathname.indexOf('/ipfs/') === 0 || window.location.pathname.indexOf('/ipns/') === 0
|
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 })
|
this.setState({ update: true })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user