196b543bee
CI / build-and-test (push) Successful in 1m47s
* Implement tenant and user creation in IdentityPage * Add API calls for managing tenants and users * Introduce tenant-scoped API requests * Update sidebar to include identity navigation * Create BooleanStatusBadge component for key status
23 lines
282 B
Go
23 lines
282 B
Go
package app
|
|
|
|
import (
|
|
"embed"
|
|
"io/fs"
|
|
)
|
|
|
|
var (
|
|
//go:embed ui/dist
|
|
uiFiles embed.FS
|
|
uiDistFS fs.FS
|
|
indexHTML []byte
|
|
)
|
|
|
|
func init() {
|
|
dist, err := fs.Sub(uiFiles, "ui/dist")
|
|
if err != nil {
|
|
return
|
|
}
|
|
uiDistFS = dist
|
|
indexHTML, _ = fs.ReadFile(uiDistFS, "index.html")
|
|
}
|