]> prime8.dev >> repos - ttyd.git/commitdiff
html: add safari mobile full screen support (#946)
authorAlex7777 <58362983+Alexie7777@users.noreply.github.com>
Tue, 5 Mar 2024 13:28:27 +0000 (21:28 +0800)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2024 13:28:27 +0000 (21:28 +0800)
add safari mobile full screen support

html/src/template.html

index ffe2ad396817c665164e0822cec6bbf903ee11e9..e710c0914c0a8e5b316a2ddfb1301bdfdba8f6f2 100644 (file)
@@ -3,6 +3,7 @@
 <head>
     <meta charset="UTF-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="apple-mobile-web-app-capable" content="yes">
     <title><%= htmlWebpackPlugin.options.title %></title>
     <link inline rel="icon" type="image/png" href="favicon.png">
     <% for (const css in htmlWebpackPlugin.files.css) { %>