Skip to content

Commit 7c71822

Browse files
authored
fixes incorrect port number (#14)
fixes incorrect localhost port listen that's used in readme. Should have been 4567
1 parent b27a87d commit 7c71822

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ruby-directory-sync-example/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ Head to `http://localhost:4567`!
3838

3939
[Ngrok](https://ngrok.com/) is a simple application that allows you to map a local endpoint to a public endpoint.
4040

41-
The application will run on http://localhost:8000. Ngrok will create a tunnel to the application so we can receive webhooks from WorkOS.
41+
The application will run on http://localhost:4567. Ngrok will create a tunnel to the application so we can receive webhooks from WorkOS.
4242

4343
```sh
44-
./ngrok http 8000
44+
./ngrok http 4567
4545
```
4646

4747
### 3. Set Up a WorkOS Endpoint
4848

4949
Log into the [WorkOS Dashboard](https://dashboard.workos.com/webhooks) and add a Webhook endpoint with the public ngrok URL with `/webhooks` appended.
5050

51-
The local application is listening for webhook requests at http://localhost:8000/webhooks
51+
The local application is listening for webhook requests at http://localhost:4567/webhooks
5252

5353
### 4. Set Up Webhooks Secret
5454

@@ -60,4 +60,4 @@ Then populate the following environment variable in your `.env` file at the root
6060
WORKOS_WEBHOOK_SECRET=your_webhook_secret
6161
```
6262

63-
For more information, see the [WorkOS Ruby SDK documentation](https://docs.workos.com/sdk/ruby).
63+
For more information, see the [WorkOS Ruby SDK documentation](https://docs.workos.com/sdk/ruby).

0 commit comments

Comments
 (0)