okdistribute / dat-server

A web ui and http interface for archiving dats.
45 stars 8 forks source link

use link not dir for lookup key in self.status #4

Closed okdistribute closed 8 years ago

okdistribute commented 8 years ago

dat.status is what keeps track of stats about the dats running in the swarm. Right now it is using the dir as the key, but @mafintosh pointed out that you could technically have two different links with different modes (live, not live) serving from the same folder. He suggested using the link which is guaranteed to be unique and future proof