photoprism/internal/pwa/sw.go
Michael Mayer 826addb4c1 PWA: Create manifest.json in code without using a template #3181
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-10 15:53:01 +01:00

8 lines
213 B
Go

package pwa
// Serviceworker represents serviceworker options for the PWA manifest.
type Serviceworker struct {
Src string `json:"src"`
Scope string `json:"scope"`
UseCache bool `json:"use_cache"`
}