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.
Rui Yang 4e569024fd use go 1.16 new package io/fs
Unify the interface for reading web statics. Now it could read an
OS directory or get the content on live

One could use

//go:embed static
var webFiles embed.FS

anywhere and config dex server to take the file system by setting

WebConfig{WebFS: webFiles}

Signed-off-by: Rui Yang <ruiya@vmware.com>
Co-authored-by: Aidan Oldershaw <aoldershaw@pivotal.io>
2021-03-20 20:05:59 +00:00
..
2019-07-31 08:16:18 +02:00
2020-12-19 22:53:26 -05:00
2020-10-18 01:54:27 +04:00
2016-07-26 15:51:24 -07:00
2021-03-20 20:05:59 +00:00
2021-01-18 14:54:43 +04:00
2020-12-19 22:53:29 -05:00
2020-12-19 22:53:29 -05:00
2021-03-20 20:05:59 +00:00
2021-03-20 20:05:59 +00:00
2021-03-20 20:05:59 +00:00