Skip to content

Commit 84644fd

Browse files
committed
Set the default value for the name field in the manifest.json
1 parent b3e2dd7 commit 84644fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradio/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ def manifest_json():
14451445
return ORJSONResponse(
14461446
content={
14471447
# NOTE: Required members: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#required_manifest_members
1448-
"name": app.get_blocks().title,
1448+
"name": app.get_blocks().title or "Gradio",
14491449
"icons": [
14501450
{
14511451
"src": "static/img/logo192.svg",

0 commit comments

Comments
 (0)