forked from jmug/stoatchat
Misc changes.
This commit is contained in:
@@ -6,7 +6,7 @@ pub mod channel;
|
||||
|
||||
pub fn mount(rocket: Rocket) -> Rocket {
|
||||
rocket
|
||||
.mount("/api/account", routes![ account::create, account::verify_email, account::resend_email, account::login ])
|
||||
.mount("/api/account", routes![ account::create, account::verify_email, account::resend_email, account::login, account::token ])
|
||||
.mount("/api/users", routes![ user::me, user::user, user::lookup, user::dms, user::dm, user::get_friends, user::get_friend, user::add_friend, user::remove_friend ])
|
||||
.mount("/api/channels", routes![ channel::channel, channel::delete, channel::messages, channel::send_message, channel::edit_message, channel::delete_message ])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user