mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-14 03:25:40 +00:00
using custom version of actix-codegen and cors for pow routes
This commit is contained in:
@@ -45,6 +45,7 @@ impl<'a> Default for IndexPage<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
#[my_codegen::get(path = "crate::PAGES.panel.sitekey.add", wrap = "crate::CheckLogin")]
|
||||
pub async fn add_sitekey() -> impl Responder {
|
||||
HttpResponse::Ok()
|
||||
.content_type("text/html; charset=utf-8")
|
||||
|
||||
Reference in New Issue
Block a user