Skip to content

Commit 948b79c

Browse files
PWA support (#3639)
Co-authored-by: bymyself <[email protected]>
1 parent 989e33c commit 948b79c

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
77
<link rel="stylesheet" type="text/css" href="user.css" />
88
<link rel="stylesheet" type="text/css" href="materialdesignicons.min.css" />
9+
10+
<!-- Fullscreen mode on iOS -->
11+
<meta name="apple-mobile-web-app-capable" content="yes">
12+
<!-- Status bar style (eg. black or transparent) -->
13+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
14+
15+
<link rel="manifest" href="manifest.json">
916
</head>
17+
1018
<body class="litegraph grid">
1119
<div id="vue-app"></div>
1220
<script type="module" src="src/main.ts"></script>

manifest.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "ComfyUI",
3+
"short_name": "ComfyUI",
4+
"description": "ComfyUI: AI image generation platform",
5+
"start_url": "/",
6+
"display": "standalone",
7+
"background_color": "#ffffff",
8+
"theme_color": "#000000"
9+
}

0 commit comments

Comments
 (0)