Add installable-app manifest, icons, and iOS splash screens

This commit is contained in:
Ian Gulliver
2026-08-16 07:29:14 -07:00
parent b418dd19ee
commit 272ce380bb
45 changed files with 164 additions and 6 deletions
+4
View File
@@ -5,6 +5,7 @@ import (
"crypto/rand"
"encoding/json"
"log"
"mime"
"net/http"
"os"
"strings"
@@ -82,6 +83,9 @@ func mapsKey(envName, file string) string {
}
func main() {
if err := mime.AddExtensionType(".webmanifest", "application/manifest+json"); err != nil {
log.Fatalf("[ERROR] register manifest mime type: %v", err)
}
authn := auth.New(clientID(), sessionKey())
serverKey := mapsKey("GOOGLE_MAPS_SERVER_KEY", "creds/geocoding.key")
browserKey := mapsKey("GOOGLE_MAPS_BROWSER_KEY", "creds/maps.key")