fix(curl): use /api instead of /

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
This commit is contained in:
supercmmetry 2021-07-29 13:30:44 +05:30
parent 36ca95e2e3
commit f80f467408
No known key found for this signature in database
GPG Key ID: 8E60EF28A328E40D

View File

@ -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])
}