diff --git a/lib/philomena_web/controllers/api/json/oembed_controller.ex b/lib/philomena_web/controllers/api/json/oembed_controller.ex index e694e927..ee3127fc 100644 --- a/lib/philomena_web/controllers/api/json/oembed_controller.ex +++ b/lib/philomena_web/controllers/api/json/oembed_controller.ex @@ -55,7 +55,7 @@ defmodule PhilomenaWeb.Api.Json.OembedController do author_url: image.source_url, author_name: artist_tags(image.tags), provider_name: "Derpibooru", - provider_url: Routes.image_url(conn, :show, image), + provider_url: PhilomenaWeb.Endpoint.url(), cache_age: 7200, derpibooru_id: image.id, derpibooru_score: image.score,