diff options
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -63,7 +63,8 @@ pub async fn main( Response::from_json(&serde_json::json!({ "crate_version": env!("CARGO_PKG_VERSION"), "git_commit_hash": env!("GIT_COMMIT_HASH"), - })) + }))? + .with_cors(&utils::cors()) }) .run(request, environment) .await |