Skip to content

Commit f1f7c95

Browse files
nschonnilucascosti
andauthored
fix: Links to localhost addresses (#1505)
Co-authored-by: Lucas Costi <[email protected]>
1 parent 7ee0f93 commit f1f7c95

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

content/developers/apps/authorizing-oauth-apps.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ The optional `redirect_uri` parameter can also be used for localhost URLs. If th
272272

273273
For the `http://localhost/path` callback URL, you can use this `redirect_uri`:
274274

275-
http://localhost:1234/path
275+
```
276+
http://localhost:1234/path
277+
```
276278

277279
### Creating multiple tokens for OAuth Apps
278280

content/developers/apps/using-content-attachments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ To create a Probot App, follow these steps:
166166
}
167167
```
168168

169-
4. [Run the GitHub App locally](https://probot.github.io/docs/development/#running-the-app-locally). Navigate to [localhost:3000](http://localhost:3000), and click the **Register GitHub App** button:
169+
4. [Run the GitHub App locally](https://probot.github.io/docs/development/#running-the-app-locally). Navigate to `http://localhost:3000`, and click the **Register GitHub App** button:
170170

171171
![Register a Probot GitHub App](/assets/images/github-apps/github_apps_probot-registration.png)
172172

lib/excluded-links.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ module.exports = [
99
'https://github.com/github/docs/edit',
1010
'https://github.com/github/insights-releases/releases/latest',
1111

12-
// Developer content uses these for examples; they should not be checked.
13-
'http://localhost:1234',
14-
'localhost:3000',
15-
1612
// Oneoff links that link checkers think are broken but are not.
1713
'https://haveibeenpwned.com/',
1814
'https://www.ilo.org/dyn/normlex/en/f\\?p=NORMLEXPUB:12100:0::NO::P12100_ILO_CODE:P029'

0 commit comments

Comments
 (0)