make append_path work, update todo

This commit is contained in:
Reid 2023-08-28 17:26:33 -07:00
parent fa1d23cb3e
commit 6bae7ef997
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
5 changed files with 9 additions and 8 deletions

View file

@ -25,8 +25,9 @@ fn rocket() -> _ {
rocket::build()
.configure(rocket::Config::figment().merge(("port", CONFIG.general.port)))
.mount("/", routes![
index,
index,
])
.mount(CONFIG.general.append_path.as_str(), routes![
endpoints::accounts::login_account::login_account,
endpoints::accounts::register_account::register_account
])