From 98e18561d0e212ed53efd6c50bc72d9c24065a19 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Sun, 4 Jun 2017 17:40:06 -0700 Subject: [PATCH] added ToS to homepage --- public/index.html | 4 ++-- routes/html-routes.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index a74a3fac..71e0c3f0 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ -
- +

By clicking 'Publish' I attest that I have read and agree to the LBRY terms of service.

+ diff --git a/routes/html-routes.js b/routes/html-routes.js index b8e01c09..433a3bdc 100644 --- a/routes/html-routes.js +++ b/routes/html-routes.js @@ -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); }); });