mirror of https://github.com/dexidp/dex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
194 B
15 lines
194 B
|
5 years ago
|
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
|
||
|
|
}
|