import (
"database/sql"
"net/http"
+ "strconv"
)
// ============================================================================
var b sql.NullString
nsVal(b)
+ fs := http.FileServer(http.Dir("../app"))
+ http.Handle("/app/", http.StripPrefix("/app", fs))
+
http.HandleFunc("/", handler)
- http.ListenAndServe(":8001", nil)
+
+ config := GetConfig()
+ http.ListenAndServe(":" + strconv.Itoa(config.port), nil)
}