mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 19:39:02 +08:00
fix: initialize site with customized icon and icon_background (#5227)
This commit is contained in:
parent
28554350de
commit
0391282b5e
@ -11,6 +11,8 @@ def handle(sender, **kwargs):
|
|||||||
site = Site(
|
site = Site(
|
||||||
app_id=app.id,
|
app_id=app.id,
|
||||||
title=app.name,
|
title=app.name,
|
||||||
|
icon = app.icon,
|
||||||
|
icon_background = app.icon_background,
|
||||||
default_language=account.interface_language,
|
default_language=account.interface_language,
|
||||||
customize_token_strategy='not_allow',
|
customize_token_strategy='not_allow',
|
||||||
code=Site.generate_code(16)
|
code=Site.generate_code(16)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user