Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix the dev-error message image (#40734)

Jarek Radosz202f5704b743
diff --git a/frontend/discourse/app/static/development-error/index.js b/frontend/discourse/app/static/development-error/index.js
index 3c740d29a7f..f1b992bedf2 100644
--- a/frontend/discourse/app/static/development-error/index.js
+++ b/frontend/discourse/app/static/development-error/index.js
@@ -1,4 +1,5 @@
import "./styles.css";
+import getURL from "discourse/lib/get-url";
let dialogContent;
@@ -12,7 +13,7 @@ function setupErrorDialog() {
heading.append(title);
const tomster = document.createElement("img");
- tomster.src = "images/fishy-tomster.webp";
+ tomster.src = getURL("/images/fishy-tomster.webp");
heading.append(tomster);
dialog.append(heading);