From 5ddabcf8b8d50cada482fa13acb8d38936a39d3f Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 8 Mar 2019 12:53:55 +0100 Subject: minor changes --- Dockerfile | 2 +- main.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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") -- cgit 1.4.1