Skip to content

Commit dd4beb5

Browse files
authored
chore: remove github config not used (#1865)
1 parent a552bd2 commit dd4beb5

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

backend/chainlit/config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@
127127
# Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
128128
cot = "full"
129129
130-
# Link to your github repo. This will add a github button in the UI's header.
131-
# github = ""
132-
133130
# Specify a CSS file that can be used to customize the user interface.
134131
# The CSS file can be served from the public directory or via an external link.
135132
# custom_css = "/public/test.css"

backend/chainlit/server.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ def get_html_template(root_path):
333333
default_meta_image_url = (
334334
"https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
335335
)
336-
url = config.ui.github or default_url
337336
meta_image_url = config.ui.custom_meta_image_url or default_meta_image_url
338337
favicon_path = "/favicon"
339338

@@ -344,7 +343,7 @@ def get_html_template(root_path):
344343
<meta property="og:title" content="{config.ui.name}">
345344
<meta property="og:description" content="{config.ui.description}">
346345
<meta property="og:image" content="{meta_image_url}">
347-
<meta property="og:url" content="{url}">
346+
<meta property="og:url" content="{default_url}">
348347
<meta property="og:root_path" content="{root_path}">"""
349348

350349
js = f"""<script>

0 commit comments

Comments
 (0)