Skip to content

Commit

Permalink
bak it
Browse files Browse the repository at this point in the history
  • Loading branch information
timzaak committed Sep 4, 2024
1 parent f1ba899 commit 3299213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests/http_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ async fn alias_start_server_and_client_upload_file() {

#[tokio::test]
async fn cors() {
//clean_web_domain_dir(LOCAL_HOST);
clean_web_domain_dir(LOCAL_HOST);
run_server_with_config("server_config_cors.toml");

let domain = LOCAL_HOST.to_owned() + "/27";
Expand All @@ -346,7 +346,7 @@ async fn cors() {
let request_prefix = &request_prefix;

tokio::time::sleep(Duration::from_secs(1)).await;
//upload_file_and_check(domain, request_prefix, 1, vec!["index.html"]).await;
upload_file_and_check(domain, request_prefix, 1, vec!["index.html"]).await;

let client = get_http_client();
let request = client.request(Method::OPTIONS, request_prefix)
Expand Down

0 comments on commit 3299213

Please sign in to comment.