Skip to content

Commit

Permalink
docs: fix localhost link protocol (#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickofthyme committed May 23, 2022
1 parent 3a7bbb2 commit 559f437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = (app, { getRouter }) => {
};
```

Visit https://localhost:3000/my-app/hello-world to access the endpoint.
Visit http://localhost:3000/my-app/hello-world to access the endpoint.

It is strongly encouraged to use the name of your package as the prefix so none of your routes or middleware conflict with other apps. For example, if [`probot/owners`](https://github.com/probot/owners) exposed an endpoint, the app would call `getRouter('/owners')` to prefix all endpoints with `/owners`.

Expand Down

0 comments on commit 559f437

Please sign in to comment.