about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-03-08 12:53:55 +0100
committerEmile <hanemile@protonmail.com>2019-03-08 12:53:55 +0100
commit5ddabcf8b8d50cada482fa13acb8d38936a39d3f (patch)
treeab2feef5e29599ec21668e30b599aa0d4da1b780
parente5c10210ba3c530d407df81a65baf3e1fc3110ac (diff)
minor changes HEAD master
-rw-r--r--Dockerfile2
-rw-r--r--main.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 979692d..67a9f67 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,4 +11,4 @@ RUN ["go", "get", "git.darknebu.la/GalaxySimulator/structs"]
 RUN ["go", "get", "github.com/gorilla/mux"]
 
 # Start the webserver
-ENTRYPOINT ["go", "run", "/home/main.go"]
\ No newline at end of file
+ENTRYPOINT ["go", "run", "/home/main.go"]
diff --git a/main.go b/main.go
index a372932..ae81e96 100644
--- a/main.go
+++ b/main.go
@@ -78,6 +78,7 @@ func main() {
 
 	// routes
 	router.HandleFunc("/", IndexHandler).Methods("GET")
+
 	router.HandleFunc("/NFWHandler", NFWHandler).Methods("GET")
 
 	log.Println("Starting the service on port localhost:8081")