scoped cors

This commit is contained in:
realaravinth
2021-04-12 10:25:52 +05:30
parent bbf182a918
commit c776092023
4 changed files with 38 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ pub struct ValidationToken {
// API keys are mcaptcha actor names
#[post("/api/v1/mcaptcha/pow/verify")]
#[post("/verify")]
pub async fn verify_pow(
payload: web::Json<Work>,
data: web::Data<Data>,