mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-14 03:25:40 +00:00
add site key form
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
|
||||
mod add;
|
||||
mod list;
|
||||
|
||||
pub mod routes {
|
||||
pub struct Sitekey {
|
||||
@@ -43,4 +44,11 @@ pub fn services(cfg: &mut actix_web::web::ServiceConfig) {
|
||||
Methods::ProtectGet,
|
||||
add::add_sitekey
|
||||
);
|
||||
|
||||
define_resource!(
|
||||
cfg,
|
||||
PAGES.panel.sitekey.list,
|
||||
Methods::ProtectGet,
|
||||
list::list_sitekeys
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user