Skip to content

Commit 1cabc33

Browse files
committed
url change
1 parent f2c0374 commit 1cabc33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

file-share-rust-backend/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async fn main() {
5252
};
5353

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

0 commit comments

Comments
 (0)