Skip to content

Commit

Permalink
added
Browse files Browse the repository at this point in the history
  • Loading branch information
SwarnenduG07 committed Dec 30, 2024
1 parent 3fa6681 commit b37d13f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions file-share-rust-backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ async fn main() {
}
};


let cors = CorsLayer::new()
.allow_origin("https://prigen.swarnendu.me".parse::<HeaderValue>().unwrap())
.allow_headers([AUTHORIZATION, ACCEPT, CONTENT_TYPE])
Expand Down

0 comments on commit b37d13f

Please sign in to comment.