Skip to content
Snippets Groups Projects
Commit aef718b8 authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

readying for heroku deploy

parent 9514aafc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment