mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
fix: Embed icon cannot be displayed (#3541)
This commit is contained in:
parent
f8de009344
commit
7c47f4d0b3
|
|
@ -53,7 +53,7 @@ class ChatEmbedSerializer(serializers.Serializer):
|
|||
if application_setting is not None:
|
||||
is_draggable = 'true' if application_setting.draggable else 'false'
|
||||
if application_setting.float_icon is not None and len(application_setting.float_icon) > 0:
|
||||
float_icon = f"{self.data.get('protocol')}://{self.data.get('host')}{application_setting.float_icon}"
|
||||
float_icon = f"{self.data.get('protocol')}://{self.data.get('host')}{CONFIG.get_chat_path()}{application_setting.float_icon}"
|
||||
show_guide = 'true' if application_setting.show_guide else 'false'
|
||||
if application_setting.float_location is not None:
|
||||
float_location = application_setting.float_location
|
||||
|
|
|
|||
Loading…
Reference in New Issue