fix: allow correct path for requesting audio
This commit is contained in:
parent
dbfcbfae07
commit
c829eb8288
@ -138,7 +138,7 @@ pub(super) async fn handler(state: AppState) -> Result<Router, AppError> {
|
||||
|
||||
let router = Router::new()
|
||||
.route("/thumbnail/:id", get(http))
|
||||
.route("/audio/id/:id", get(http))
|
||||
.route("/audio/external_id/:id", get(http))
|
||||
.route("/", get(metadata_ws))
|
||||
.layer(SetSensitiveRequestHeadersLayer::new([AUTHORIZATION]))
|
||||
.layer(trace_layer)
|
||||
|
Loading…
Reference in New Issue
Block a user