From f3ef23fd3656cb9301123c712fa5b16e8c1f6ac6 Mon Sep 17 00:00:00 2001
From: Dawid Banach <dawid1.banach@gmail.com>
Date: Mon, 25 Sep 2023 16:02:48 +0200
Subject: [PATCH] Update image source to relative path

---
 plwordnet/plwordnet.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plwordnet/plwordnet.js b/plwordnet/plwordnet.js
index 1ae61d4..3f6ae3e 100644
--- a/plwordnet/plwordnet.js
+++ b/plwordnet/plwordnet.js
@@ -185,7 +185,7 @@ PlWordnet.prototype.createAdditionalInfo = function(jsonData, title, titleEn, la
         '<a href="/synsetid/plwordnet/' + element2.synset + '">' +
         '<p class="title">' + element2.lemma + '</p>' +
         '</a>' +
-        '<img width="40" height="20" class="img-responsive show-icon" src="http://lexp-dev.clarin-pl.eu/img/lang-' + lang + '-32.png" alt="Language" />' +
+        `<img width="40" height="20" class="img-responsive show-icon" src="/img/lang-${lang}-32.png" alt="Language" />` +
         definition +
         horizontalLine;
     });
-- 
GitLab