mount the network status route
This commit is contained in:
parent
4e7fbd5fdf
commit
d9167a2cd6
|
@ -252,6 +252,10 @@ pub fn mount_peachpub_routes(
|
|||
Response::html(routes::status::scuttlebutt::build_template()).add_cookie("back_url=/status/scuttlebutt")
|
||||
},
|
||||
|
||||
(GET) (/status/network) => {
|
||||
Response::html(routes::status::network::build_template())
|
||||
},
|
||||
|
||||
// render the not_found template and set a 404 status code if none of
|
||||
// the other blocks matches the request
|
||||
_ => Response::html(templates::not_found::build_template()).with_status_code(404)
|
||||
|
|
Loading…
Reference in New Issue