diff --git a/public/index.html b/public/index.html
index 6a2099da..3511eaba 100644
--- a/public/index.html
+++ b/public/index.html
@@ -12,7 +12,7 @@
Examples:
- spee.ch/coconuts
- - spee.ch/sunflower
+ - spee.ch/wood
- spee.ch/doitlive
- spee.ch/doitlive/all
- spee.ch/doitlive/ca3023187e901df9e9aabd95d6ae09b6cc69b3f0
diff --git a/routes/html-routes.js b/routes/html-routes.js
index 6d5adc90..6253e54f 100644
--- a/routes/html-routes.js
+++ b/routes/html-routes.js
@@ -55,7 +55,7 @@ module.exports = function(app){
console.log("/name/claim_id/ promise error:", error)
// handle the error
if (error === "Invalid URI") {
- res.status(400).sendFile(path.join(__dirname, '../public', 'invalidURI.html'));
+ res.status(400).sendFile(path.join(__dirname, '../public', 'invalidUri.html'));
return;
} else {
res.status(400).send(error);
@@ -83,10 +83,8 @@ module.exports = function(app){
if ((error === "NO_CLAIMS") || (error === "NO_FREE_PUBLIC_CLAIMS")){
res.status(307).sendFile(path.join(__dirname, '../public', 'noClaims.html'));
return;
- } else {
- res.status(400).send(error);
- return;
};
+ res.status(400).send(error);
});
});