I wil deal with this later I guess
Signed-off-by: Odyssey346 <odyssey346@disroot.org>
This commit is contained in:
2
main.go
2
main.go
@@ -21,7 +21,7 @@ func main() {
|
||||
log.Println("[Segfautilities] Starting")
|
||||
otherthings.CheckEnv()
|
||||
log.Println("[HTTP] Starting server")
|
||||
pieceof := os.Getenv("SEGFAUTILITIES_PORT") // I hate this
|
||||
pieceof := os.Getenv("SEGFAUTILITIES_PORT")
|
||||
tmpl := template.Must(template.ParseFiles("static/index.html"))
|
||||
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
data := StaticThingy{
|
||||
|
Reference in New Issue
Block a user