This commit is contained in:
@@ -73,7 +73,7 @@ func (router Router) API(w http.ResponseWriter, r *http.Request) {
|
|||||||
router.APITransactions(w, r)
|
router.APITransactions(w, r)
|
||||||
case "/api/amend":
|
case "/api/amend":
|
||||||
router.APIAmend(w, r)
|
router.APIAmend(w, r)
|
||||||
case "/api/reg":
|
case "/api/reg", "/api/bal":
|
||||||
router.APIReg(w, r)
|
router.APIReg(w, r)
|
||||||
default:
|
default:
|
||||||
http.NotFound(w, r)
|
http.NotFound(w, r)
|
||||||
|
|||||||
Reference in New Issue
Block a user