make append_path work, update todo
This commit is contained in:
parent
fa1d23cb3e
commit
6bae7ef997
5 changed files with 9 additions and 8 deletions
|
@ -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
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue