From f80f467408596d518ba35822776aee44eb652863 Mon Sep 17 00:00:00 2001 From: supercmmetry Date: Thu, 29 Jul 2021 13:30:44 +0530 Subject: [PATCH] fix(curl): use /api instead of / Signed-off-by: supercmmetry --- src/api/routes/paste.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/routes/paste.rs b/src/api/routes/paste.rs index bbe8aef..bdf02eb 100644 --- a/src/api/routes/paste.rs +++ b/src/api/routes/paste.rs @@ -161,5 +161,5 @@ fn anonymous(input: String, conn: DbConn) -> String { pub fn fuel(rocket: Rocket) -> Rocket { rocket .mount("/api/paste", routes![create, fetch, update]) - .mount("/", routes![anonymous]) + .mount("/api", routes![anonymous]) }