docs: fix localhost link protocol (#1691)

This commit is contained in:
Nick Partridge 2022-05-23 17:24:38 -05:00 committed by GitHub
parent 3a7bbb2e1a
commit 559f4374d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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`.