mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
cors for pow routes
This commit is contained in:
@@ -52,11 +52,6 @@ pub fn services(cfg: &mut ServiceConfig) {
|
||||
// duration
|
||||
cfg.service(mcaptcha::duration::update_duration);
|
||||
cfg.service(mcaptcha::duration::get_duration);
|
||||
|
||||
// pow
|
||||
cfg.service(pow::get_config::get_config);
|
||||
cfg.service(pow::verify_pow::verify_pow);
|
||||
cfg.service(pow::verify_token::validate_captcha_token);
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user