mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
add new site accepts duration
This commit is contained in:
@@ -34,7 +34,7 @@ pub mod routes {
|
||||
impl Docs {
|
||||
pub const fn new() -> Self {
|
||||
Docs {
|
||||
home: "/docs",
|
||||
home: "/docs/",
|
||||
spec: "/docs/openapi.json",
|
||||
assets: "/docs/{_:.*}",
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ pub struct IndexPage<'a> {
|
||||
pub levels: usize,
|
||||
pub form_title: &'a str,
|
||||
pub form_description: &'a str,
|
||||
pub form_duration: usize,
|
||||
}
|
||||
|
||||
const COMPONENT: &str = "Add Site Key";
|
||||
@@ -40,6 +41,7 @@ impl<'a> Default for IndexPage<'a> {
|
||||
levels: 1,
|
||||
form_description: "",
|
||||
form_title: "Add Site Key",
|
||||
form_duration: 30,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user