Fix, placeholder image, api
Added a placeholder image, code style Fixed metadata missing issue More work on api
This commit is contained in:
parent
529d106351
commit
0e036b152b
8 changed files with 192 additions and 94 deletions
4
main.go
4
main.go
|
@ -27,6 +27,9 @@ var reactiveFS embed.FS
|
|||
//go:embed frontend-noscript
|
||||
var nojsFS embed.FS
|
||||
|
||||
//go:embed duck.webp
|
||||
var placeholderFile string
|
||||
|
||||
func main() {
|
||||
setLogger()
|
||||
setLogLevel()
|
||||
|
@ -76,6 +79,7 @@ func main() {
|
|||
pkey,
|
||||
util.NewFSWrapper(reactiveFS, "frontend-reactive/dist/", false),
|
||||
util.NewFSWrapper(nojsFS, "frontend-noscript/", false),
|
||||
&placeholderFile,
|
||||
)
|
||||
server.Start(":8000")
|
||||
// TODO: Set up media server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue