Skip to content

Commit

Permalink
Fix edid_href
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Nagorny committed Oct 12, 2023
1 parent c778adc commit 4c446ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Development/nmos/streamcompatibility_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace nmos
slog::log<slog::severities::info>(gate, SLOG_FLF) << "Redirecting to EDID file for " << id_type;

set_reply(res, web::http::status_codes::TemporaryRedirect);
res.headers().add(web::http::header_names::location, nmos::fields::edid_href(edid_endpoint));
res.headers().add(web::http::header_names::location, nmos::fields::edid_href(edid_endpoint).as_string());
}
else
{
Expand Down

0 comments on commit 4c446ba

Please sign in to comment.