diff --git a/app/assets/javascripts/discourse-common/addon/lib/get-url.js b/app/assets/javascripts/discourse-common/addon/lib/get-url.js index eb36586e8d5..a74ea5ff64f 100644 --- a/app/assets/javascripts/discourse-common/addon/lib/get-url.js +++ b/app/assets/javascripts/discourse-common/addon/lib/get-url.js @@ -4,7 +4,7 @@ let S3BaseUrl, S3CDN; export default function getURL(url) { if (!url) return url; - if (!baseUri) { + if (baseUri === undefined) { baseUri = $('meta[name="discourse-base-uri"]').attr("content") || ""; }