added ToS to homepage
This commit is contained in:
parent
4c4b7e4dc7
commit
98e18561d0
2 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue