Skip to content

Commit cc1576b

Browse files
committed
fix: Embed icon cannot be displayed
1 parent f8de009 commit cc1576b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/chat/serializers/chat_embed_serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def get_embed(self, with_valid=True, params=None):
5353
if application_setting is not None:
5454
is_draggable = 'true' if application_setting.draggable else 'false'
5555
if application_setting.float_icon is not None and len(application_setting.float_icon) > 0:
56-
float_icon = f"{self.data.get('protocol')}://{self.data.get('host')}{application_setting.float_icon}"
56+
float_icon = f"{self.data.get('protocol')}://{self.data.get('host')}{CONFIG.get_chat_path()}{application_setting.float_icon}"
5757
show_guide = 'true' if application_setting.show_guide else 'false'
5858
if application_setting.float_location is not None:
5959
float_location = application_setting.float_location

0 commit comments

Comments
 (0)