1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-03 16:28:10 +00:00

Use Rocket v0.5 branch to fix endpoints

There now is a `v0.5` branch which will be the final release version
when the time is there. Switched to this instead of the `master` branch
which contains other fixes and enhancements as well (for `v0.6`).

This should solve all the endpoint issue we were having.
This commit is contained in:
BlackDex 2023-05-06 19:46:55 +02:00
commit 4a2ed553df
No known key found for this signature in database
GPG key ID: 58C80A2AA6C765E1
3 changed files with 32 additions and 32 deletions

View file

@ -248,7 +248,7 @@ impl Fairing for BetterLogging {
if self.0 {
info!(target: "routes", "Routes loaded:");
let mut routes: Vec<_> = rocket.routes().collect();
routes.sort_by_key(|r| r.uri.path().as_str());
routes.sort_by_key(|r| r.uri.path());
for route in routes {
if route.rank < 0 {
info!(target: "routes", "{:<6} {}", route.method, route.uri);