added server and realm tabs to inventory screen
This commit is contained in:
parent
ee425e224e
commit
acab2f017d
12 changed files with 647 additions and 151 deletions
|
|
@ -57,4 +57,10 @@ pub fn api_router() -> Router<AppState> {
|
|||
"/inventory/{item_id}",
|
||||
axum::routing::delete(inventory::drop_item),
|
||||
)
|
||||
// Public inventory routes (public server/realm props)
|
||||
.route("/inventory/server", get(inventory::get_server_props))
|
||||
.route(
|
||||
"/realms/{slug}/inventory",
|
||||
get(inventory::get_realm_props),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue