mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-13 02:55:39 +00:00
mcaptcah uses const routes
This commit is contained in:
@@ -33,3 +33,9 @@ pub fn get_random(len: usize) -> String {
|
||||
.take(len)
|
||||
.collect::<String>()
|
||||
}
|
||||
|
||||
pub fn services(cfg: &mut actix_web::web::ServiceConfig) {
|
||||
duration::services(cfg);
|
||||
levels::services(cfg);
|
||||
mcaptcha::services(cfg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user