Skip to content

Commit

Permalink
Added interval to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Robsahm committed Dec 5, 2016
1 parent 7153f7d commit cf247ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Initiate config fetching. `environment` is one of "dev", "stage" or "prod"
var configClient = require("next-config-client");
configClient({
requestUrl: "ws://example.com/api/vx/config/",
environment: "dev"
environment: "dev",
interval: time in milliseconds
})
.then((config) => {
// Do stuff with config and start app
Expand Down

0 comments on commit cf247ba

Please sign in to comment.