fix: allow correct path for requesting audio

This commit is contained in:
dusk 2023-04-30 06:00:01 +03:00
parent dbfcbfae07
commit c829eb8288
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -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)