Serve covers under API namespace as well

This commit is contained in:
Claudio Ortolina
2024-12-22 22:11:43 +00:00
parent 962d6a0cb0
commit 97f26e0cd2
3 changed files with 4 additions and 2 deletions
@@ -30,7 +30,8 @@ defmodule MusicLibraryWeb.CollectionControllerTest do
assert json_response(conn, 200) == %{
"artists" => ["Steven Wilson"],
"title" => record.title,
"cover_url" => "http://localhost:4002/covers/#{record.id}?vsn=#{record.cover_hash}"
"cover_url" =>
"http://localhost:4002/api/covers/#{record.id}?vsn=#{record.cover_hash}"
}
end
end