about summary refs log tree commit diff
path: root/src/main.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-03 18:17:12 +0100
committerEmile <hanemile@protonmail.com>2019-02-03 18:17:12 +0100
commit49e9e578b02f97528d817dc734a9d78a2baf9f02 (patch)
tree03ac4279b1178e93644fbe19760be37c7575378b /src/main.go
parent463c60ae427f01a0393ee4805bf46347356c6f51 (diff)
hetzner reset
Diffstat (limited to 'src/main.go')
-rw-r--r--src/main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.go b/src/main.go
index dd00ff9..76d2180 100644
--- a/src/main.go
+++ b/src/main.go
@@ -53,7 +53,6 @@ func drawStars(s *svg.SVG, listOfStars []structs.Star2D) {
 	for _, star := range listOfStars {
 		x := int(star.C.X / 2000)
 		y := int(star.C.Y / 2000)
-		fmt.Printf("(%d, %d)\n", x, y)
 		s.Circle(x, y, 1, s.RGB(255, 255, 255))
 	}
 	log.Println("[   ] Done drawing the stars")
@@ -70,7 +69,6 @@ func drawBox(s *svg.SVG, node *structs.Node) {
 		x := int(node.Boundry.Center.X / 2000)
 		y := int(node.Boundry.Center.Y / 2000)
 		w := int(node.Boundry.Width / 2000)
-		fmt.Printf("Box {{%d, %d}, %d}\n", x, y, w)
 		s.CenterRect(x, y, w, w, "fill:none;stroke:white")
 	}
 
@@ -117,5 +115,5 @@ func main() {
 
 	router.HandleFunc("/drawtree/{treeindex}", drawTree).Methods("GET")
 
-	log.Fatal(http.ListenAndServe(":2003", router))
+	log.Fatal(http.ListenAndServe(":80", router))
 }