Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Aug 12, 2017
1 parent f05e94b commit 1814100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -100,7 +100,7 @@ This is an _alrightish tested_ project, there's a lot in places where the code i

### Exposing Peril to the public

In order to support danger.systems features, there is an ENV var `"PUBLIC_INSTANCE"` that when truthy will expose an extra API route.
In order to support danger.systems features, there is an ENV var `"PUBLIC_FACING_API"` that when truthy will expose an extra API route.

- `GET /api/v1/pr/dsl?owner=danger&repo=peril&number=14`

Expand Down
2 changes: 1 addition & 1 deletion source/peril.ts
Expand Up @@ -24,7 +24,7 @@ app.use(express.static("public"))
app.post("/webhook", webhook)

if (PUBLIC_FACING_API) {
console.log("This is a public facing Peril instance.")
console.log("This is a public facing Peril instance.") // tslint:disable-line
app.get("/api/v1/pr/dsl", prDSLRunner)
}

Expand Down

0 comments on commit 1814100

Please sign in to comment.