features/curl #6

Closed
supercmmetry wants to merge 3 commits from features/curl into master
Showing only changes of commit f80f467408 - Show all commits

View File

@ -161,5 +161,5 @@ fn anonymous(input: String, conn: DbConn) -> String {
pub fn fuel(rocket: Rocket) -> Rocket { pub fn fuel(rocket: Rocket) -> Rocket {
rocket rocket
.mount("/api/paste", routes![create, fetch, update]) .mount("/api/paste", routes![create, fetch, update])
.mount("/", routes![anonymous]) .mount("/api", routes![anonymous])
} }