This commit is contained in:
2022-07-13 04:32:12 +00:00
committed by GitHub
parent 6496197024
commit 16105daa66
2 changed files with 8 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ impl ResponseJsonFor<Body> for VersionContext {
allow_headers = [CONTENT_TYPE, X_TOKEN],
GET,
OPTIONS,
POST
POST,
);
Ok(builder.body(json::object! {"version": [0, 0, 1, 0]})?)
}