Skip to content

Commit

Permalink
prod fe url adde
Browse files Browse the repository at this point in the history
  • Loading branch information
SwarnenduG07 committed Dec 29, 2024
1 parent 1cabc33 commit 3fa6681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file-share-rust-backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async fn main() {
};

let cors = CorsLayer::new()
.allow_origin("http://localhost:3000".parse::<HeaderValue>().unwrap())
.allow_origin("https://prigen.swarnendu.me".parse::<HeaderValue>().unwrap())
.allow_headers([AUTHORIZATION, ACCEPT, CONTENT_TYPE])
.allow_credentials(true)
.allow_methods([Method::GET, Method::POST, Method::PUT]);
Expand Down

0 comments on commit 3fa6681

Please sign in to comment.