9e29789c09
* root: fix config loading for outposts Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix error handling Signed-off-by: Jens Langhammer <jens@goauthentik.io> * improve check to see if outpost is embedded or not Signed-off-by: Jens Langhammer <jens@goauthentik.io> * also fix oauth url fetching Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
11 lines
134 B
Go
11 lines
134 B
Go
package lib
|
|
|
|
import _ "embed"
|
|
|
|
//go:embed default.yml
|
|
var defaultConfig []byte
|
|
|
|
func DefaultConfig() []byte {
|
|
return defaultConfig
|
|
}
|