This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
dex/web/web.go

15 lines
194 B
Go
Raw Normal View History

package web
import (
"embed"
"io/fs"
)
//go:embed static/* templates/* themes/*
var files embed.FS
// FS returns a filesystem with the default web assets.
func FS() fs.FS {
return files
}