mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
widget template
This commit is contained in:
@@ -123,7 +123,7 @@ mod test {
|
||||
|
||||
let mut app = get_app!(data).await;
|
||||
|
||||
let url = format!("/sitekey/view/{}", &key.key);
|
||||
let url = format!("/sitekey/{}/view", &key.key);
|
||||
|
||||
let list_sitekey_resp = test::call_service(
|
||||
&mut app,
|
||||
|
||||
@@ -29,6 +29,7 @@ pub struct Routes {
|
||||
pub thanks: &'static str,
|
||||
pub donate: &'static str,
|
||||
pub security: &'static str,
|
||||
pub privacy: &'static str,
|
||||
}
|
||||
|
||||
impl Routes {
|
||||
@@ -44,6 +45,7 @@ impl Routes {
|
||||
thanks: "/thanks",
|
||||
donate: "/donate",
|
||||
security: "/security",
|
||||
privacy: "/privacy-policy",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user