Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
Fix Linux url
Browse files Browse the repository at this point in the history
  • Loading branch information
hyun-wook ha committed Aug 12, 2020
1 parent 5bae8b3 commit 980e752
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ async fn main() -> std::io::Result<()> {
.data(combinator.clone())
.data(conn_pool.clone())
.data(data_string.clone())
.service(web::resource("/comb").route(web::post().to(combination)))
.service(web::resource("/share").route(web::post().to(db_access)))
.service(web::resource("/data").route(web::post().to(data)))
.service(web::resource("/api/comb").route(web::post().to(combination)))
.service(web::resource("/api/share").route(web::post().to(db_access)))
.service(web::resource("/api/data").route(web::post().to(data)))
});
print!("Service was binded to {:?}\n", bind);
server.bind_uds(bind).unwrap().run().await
Expand Down

0 comments on commit 980e752

Please sign in to comment.