added ToS to homepage

This commit is contained in:
bill bittner 2017-06-04 17:40:06 -07:00
parent 4c4b7e4dc7
commit 98e18561d0
2 changed files with 4 additions and 4 deletions

View file

@ -39,8 +39,8 @@
<option value="false">False</option>
<option value="true">True</option>
</select>
<br/>
<button id="publish-submit">Submit</button>
<p><i>By clicking 'Publish' I attest that I have read and agree to the <a href="https://lbry.io/termsofservice" target="_blank">LBRY terms of service</a>.</i></p>
<button id="publish-submit">Publish</button>
</form>
</div>
</section>

View file

@ -34,7 +34,7 @@ module.exports = function(app){
res.status(200).sendFile(filePath);
})
.catch(function(error){
console.log("/:name/:claim_id error.")
console.log("/:name/:claim_id error:", error)
routeHelpers.handleRequestError(error, res);
});
});
@ -47,7 +47,7 @@ module.exports = function(app){
console.log("/:name success.")
res.status(200).sendFile(filePath);
}).catch(function(error){
console.log("/:name error.");
console.log("/:name error:", error);
routeHelpers.handleRequestError(error, res);
});
});