Merge remote-tracking branch 'origin/master' into ws-testing

This commit is contained in:
maddalax 2024-11-09 11:46:32 -06:00
commit 94a7e36297

View file

@ -1,6 +1,7 @@
package main
import (
"fmt"
"github.com/maddalax/htmgo/framework/h"
"github.com/maddalax/htmgo/framework/service"
"htmgo-site/__htmgo"
@ -19,6 +20,8 @@ func main() {
service.Set(locator, service.Singleton, markdown.NewRenderer)
service.Set(locator, service.Singleton, cache.NewSimpleCache)
fmt.Printf("starting up server2\n")
h.Start(h.AppOpts{
ServiceLocator: locator,
LiveReload: true,