joeyak
joeyak
I like the `map[string]html.Template` idea. The keys should be "enum" constants. Maybe with a `Tmpl` prefix.
Were you thinking of having the templates loaded on server start? I was thinking of making the templates "contasts", but I think I might like the load at runtime better.
hmm good point. Maybe we need to restructure the root directory a bit more? One thing I definitely want to do is combine `emotes.go` and `common/emotes.go`
common/emotes was combined into emotes.go with the embed branch
The closing of the client connections can be done in the handleInterrupt function in fac6e285bd08de3ef9b7cb4285793162b23f42e1
Accidentally closed it
sure push it. I'm interested what the change looks like. Also nice find.
I think what happened was in the removal of wasm I forgot to convert this line over to the javascript, so now there's nothing to keep the websocket connection open...
Turns out nginx times out websocket connections at 60 seconds http://nginx.org/en/docs/http/websocket.html
@MrAureliusR I worked with someone else to check the fix in PR #182. I'm pretty sure this is solved we can reopen the issue if you still have it