cors for pow routes

This commit is contained in:
realaravinth
2021-04-11 23:40:36 +05:30
parent 0d1ba0d150
commit 8851b1f7b7
4 changed files with 40 additions and 10 deletions

View File

@@ -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)]