mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
view sitekey
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
mod add;
|
||||
mod list;
|
||||
mod view;
|
||||
|
||||
pub mod routes {
|
||||
pub struct Sitekey {
|
||||
@@ -53,4 +54,11 @@ pub fn services(cfg: &mut actix_web::web::ServiceConfig) {
|
||||
Methods::ProtectGet,
|
||||
list::list_sitekeys
|
||||
);
|
||||
|
||||
define_resource!(
|
||||
cfg,
|
||||
PAGES.panel.sitekey.view,
|
||||
Methods::ProtectGet,
|
||||
view::view_sitekey
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user