Skip to content

Commit

Permalink
Merge pull request #3 from abroy77/dev
Browse files Browse the repository at this point in the history
update route to homepage
  • Loading branch information
abroy77 authored Aug 6, 2024
2 parents 305e5ea + 3850431 commit 9c9cf22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webapp/startup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub fn run(
.route("/actor", web::get().to(get_actor))
.route("/actor_prefix", web::post().to(get_actor_prefix))
.route("/shortest_path", web::post().to(get_shortest_path))
.route("/home", web::get().to(homepage))
.route("/", web::get().to(homepage))
.service(fs::Files::new("/static", "./static"))
.app_data(connection_pool.clone())
.app_data(movie_db.clone())
Expand Down

0 comments on commit 9c9cf22

Please sign in to comment.