made 'overview' button light up when no other menu is selected (music gateway)

Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
ari melody 2024-03-20 04:21:01 +00:00
parent 4ca398be6d
commit 2af03c6676
3 changed files with 6 additions and 4 deletions

View file

@ -17,7 +17,7 @@ import (
"github.com/gomarkdown/markdown/parser"
)
const PORT int = 8081
const PORT int = 8080
var mime_types = map[string]string{
"css": "text/css; charset=utf-8",
@ -196,7 +196,7 @@ func main() {
push_to_db_this_is_a_testing_thing_and_will_be_superfluous_later()
http.HandleFunc("/", web_handler)
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", PORT), nil))
fmt.Printf("server now live at http://127.0.0.1:%d\n", PORT)
fmt.Printf("now serving at http://127.0.0.1:%d\n", PORT)
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", PORT), nil))
}