Development #20
2 changed files with 4 additions and 4 deletions
|
@ -39,8 +39,8 @@
|
||||||
<option value="false">False</option>
|
<option value="false">False</option>
|
||||||
<option value="true">True</option>
|
<option value="true">True</option>
|
||||||
</select>
|
</select>
|
||||||
<br/>
|
<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">Submit</button>
|
<button id="publish-submit">Publish</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -34,7 +34,7 @@ module.exports = function(app){
|
||||||
res.status(200).sendFile(filePath);
|
res.status(200).sendFile(filePath);
|
||||||
})
|
})
|
||||||
.catch(function(error){
|
.catch(function(error){
|
||||||
console.log("/:name/:claim_id error.")
|
console.log("/:name/:claim_id error:", error)
|
||||||
routeHelpers.handleRequestError(error, res);
|
routeHelpers.handleRequestError(error, res);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -47,7 +47,7 @@ module.exports = function(app){
|
||||||
console.log("/:name success.")
|
console.log("/:name success.")
|
||||||
res.status(200).sendFile(filePath);
|
res.status(200).sendFile(filePath);
|
||||||
}).catch(function(error){
|
}).catch(function(error){
|
||||||
console.log("/:name error.");
|
console.log("/:name error:", error);
|
||||||
routeHelpers.handleRequestError(error, res);
|
routeHelpers.handleRequestError(error, res);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue