parent
44a80255bb
commit
4663960d9d
|
|
@ -53,8 +53,11 @@
|
|||
<label for="${i}">${i}</label>
|
||||
</div>`
|
||||
if (document.getElementById("question-text").value != g_live_question.Text) {
|
||||
document.getElementById("question-text").innerHTML = `<h1>${g_live_question.Text}</h1>`;
|
||||
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-options").innerHTML = options;
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ func runHTTP(ctx context.Context, cfg Config) error {
|
|||
<-ctx.Done()
|
||||
server.Close()
|
||||
}()
|
||||
log.Println("listening on", cfg.Addr)
|
||||
log.Println("listening on", cfg.Addr, "w", string(cfg.fsDB))
|
||||
if err := server.ListenAndServe(); err != nil && ctx.Err() == nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue