diff options
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | main.go | 1 |
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") |