chore(dev): dynamically load templates during dev
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-02-25 14:54:50 -05:00
parent 75ed394f8d
commit a69b7452ce
5 changed files with 102 additions and 87 deletions

View File

@@ -19,8 +19,8 @@ type streamer struct {
func (api *API) newStreamer(c *gin.Context, data string) *streamer {
stream := &streamer{
templates: api.templates,
writer: c.Writer,
templates: api.templates,
completeCh: make(chan struct{}),
}