segrete rest from tera
This commit is contained in:
@ -110,9 +110,8 @@ pub struct Config {
|
||||
rss_key: String,
|
||||
}
|
||||
|
||||
pub fn start(db: SqlitePool) -> Rocket<Build> {
|
||||
rocket::build()
|
||||
.manage(db)
|
||||
pub fn config(rocket: Rocket<Build>) -> Rocket<Build> {
|
||||
rocket
|
||||
.mount("/", routes![index, join, remove])
|
||||
.mount("/auth", auth::routes())
|
||||
.mount("/cox", cox::routes())
|
||||
|
Reference in New Issue
Block a user