Compare commits

..

No commits in common. "main" and "v0.0.0" have entirely different histories.
main ... v0.0.0

2 changed files with 2 additions and 5 deletions

View File

@ -53,11 +53,8 @@
<label for="${i}">${i}</label>
</div>`
if (document.getElementById("question-text").value != g_live_question.Text) {
document.getElementById("question-text").value = g_live_question.Text;
document.getElementById("question-text").innerHTML = `<h1>${g_live_question.Text}</h1>`;
}
if (document.getElementById("question-options").value != options) {
document.getElementById("question-options").value = options;
document.getElementById("question-text").value = g_live_question.Text;
document.getElementById("question-options").innerHTML = options;
}
} else {

View File

@ -109,7 +109,7 @@ func runHTTP(ctx context.Context, cfg Config) error {
<-ctx.Done()
server.Close()
}()
log.Println("listening on", cfg.Addr, "w", string(cfg.fsDB))
log.Println("listening on", cfg.Addr)
if err := server.ListenAndServe(); err != nil && ctx.Err() == nil {
return err
}