feat: add ENABLE_COMMUNITY_SHARING

This commit is contained in:
Jun Siang Cheah
2024-05-26 17:10:25 +01:00
parent 6c5f5fe368
commit 1235714914
5 changed files with 28 additions and 16 deletions

View File

@@ -365,6 +365,7 @@ async def get_app_config():
"auth_trusted_header": bool(webui_app.state.AUTH_TRUSTED_EMAIL_HEADER),
"enable_image_generation": images_app.state.config.ENABLED,
"enable_admin_export": ENABLE_ADMIN_EXPORT,
"enable_community_sharing": webui_app.state.config.ENABLE_COMMUNITY_SHARING,
},
}