diff --git a/cmd/serverFunc.go b/cmd/serverFunc.go index 1909243..9414116 100644 --- a/cmd/serverFunc.go +++ b/cmd/serverFunc.go @@ -39,6 +39,13 @@ func server() { //r.Static("/css", "./cmd/templates/css") r.StaticFileFS("/css/style.css", "./templates/css/style.css", http.FS(templateFolder)) + r.StaticFileFS("/favicon.ico", "./templates/ico/favicon.ico", http.FS(templateFolder)) + r.StaticFileFS("/favicon-32x32.png", "./templates/ico/favicon-32x32.png", http.FS(templateFolder)) + r.StaticFileFS("/favicon-16x16.png", "./templates/ico/favicon-16x16.png", http.FS(templateFolder)) + r.StaticFileFS("/apple-touch-icon.png", "./templates/ico/apple-touch-icon.png", http.FS(templateFolder)) + r.StaticFileFS("/android-chrome-512x512.png", "./templates/ico/android-chrome-512x512.png", http.FS(templateFolder)) + r.StaticFileFS("/android-chrome-192x192.png", "./templates/ico/android-chrome-192x192.png", http.FS(templateFolder)) + r.StaticFileFS("/site.webmanifest", "./templates/ico/site.webmanifest", http.FS(templateFolder)) r.GET("/", returnIndex) r.GET("/cacert", returnCacert) diff --git a/cmd/templates/ico/android-chrome-192x192.png b/cmd/templates/ico/android-chrome-192x192.png new file mode 100644 index 0000000..7bf300c Binary files /dev/null and b/cmd/templates/ico/android-chrome-192x192.png differ diff --git a/cmd/templates/ico/android-chrome-512x512.png b/cmd/templates/ico/android-chrome-512x512.png new file mode 100644 index 0000000..940702f Binary files /dev/null and b/cmd/templates/ico/android-chrome-512x512.png differ diff --git a/cmd/templates/ico/apple-touch-icon.png b/cmd/templates/ico/apple-touch-icon.png new file mode 100644 index 0000000..ab9cef6 Binary files /dev/null and b/cmd/templates/ico/apple-touch-icon.png differ diff --git a/cmd/templates/ico/favicon-16x16.png b/cmd/templates/ico/favicon-16x16.png new file mode 100644 index 0000000..79d5040 Binary files /dev/null and b/cmd/templates/ico/favicon-16x16.png differ diff --git a/cmd/templates/ico/favicon-32x32.png b/cmd/templates/ico/favicon-32x32.png new file mode 100644 index 0000000..051d0cc Binary files /dev/null and b/cmd/templates/ico/favicon-32x32.png differ diff --git a/cmd/templates/ico/favicon.ico b/cmd/templates/ico/favicon.ico new file mode 100644 index 0000000..c018ff8 Binary files /dev/null and b/cmd/templates/ico/favicon.ico differ diff --git a/cmd/templates/ico/site.webmanifest b/cmd/templates/ico/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/cmd/templates/ico/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file