Commit 2f9d3e7b authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

prepare for deployment

parent 0efb7cad
......@@ -5,11 +5,12 @@ import (
"github.com/gorilla/mux"
"log"
"net/http"
"os"
)
func main() {
r := mux.NewRouter()
port := "5000"//os.Getenv("PORT")
port := os.Getenv("PORT")
c := r.PathPrefix("/conservation/v1").Methods("GET").Subrouter()
// two handlerpaths makes sure that the caller does not HAVE to specify limit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment