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

prepare for deployment

parent 0efb7cad
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