From 66ada2b2c11036935d17b6bc9c33ed0cff772ce7 Mon Sep 17 00:00:00 2001 From: bekcpear Date: Wed, 8 Sep 2021 23:43:29 +0800 Subject: [PATCH] set the theme-color and msapplication-TileColor in the index.html either Thanks @ramiresviana for pointing out the problem: "Chrome desktop/mobile ignores the theme-color from dynamic manifest." --- cmd/config.go | 2 +- frontend/public/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/config.go b/cmd/config.go index 51771158..47a62397 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -41,7 +41,7 @@ func addConfigFlags(flags *pflag.FlagSet) { flags.String("recaptcha.secret", "", "ReCaptcha secret") flags.String("branding.name", "", "replace 'File Browser' by this name") - flags.String("branding.color", "", "set theme_color of Manifest") + flags.String("branding.color", "", "set the theme color") flags.String("branding.files", "", "path to directory with images and custom styles") flags.Bool("branding.disableExternal", false, "disable external links such as GitHub links") } diff --git a/frontend/public/index.html b/frontend/public/index.html index fc5a6609..d6986bf1 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -16,7 +16,7 @@ - + @@ -26,7 +26,7 @@ - +