Skip to content

Commit

Permalink
update route to homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-roy-obd committed Aug 6, 2024
1 parent ffd30e3 commit 3850431
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 3850431

Please sign in to comment.