Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

PORT should be settable via an ENV var #47

Closed
markbates opened this issue Dec 12, 2016 · 0 comments
Closed

PORT should be settable via an ENV var #47

markbates opened this issue Dec 12, 2016 · 0 comments

Comments

@markbates
Copy link
Member

	port := defaults.String(os.Getenv("PORT"), "3000")
	log.Fatal(http.ListenAndServe(fmt.Sprintf(":%s", port), actions.App()))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant