Skip to content

Commit

Permalink
fix: change default port (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
J0 authored Apr 29, 2024
1 parent b012a3f commit 4363be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DEVELOPERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
- [Running load tests inside a Dev Container](#running-load-tests-inside-a-dev-container)

## How to run locally
To serve all functions in the examples folder on port 9000, you can do this with the [example main service](./examples/main/index.ts) provided with this repo
To serve all functions in the examples folder on port 9998, you can do this with the [example main service](./examples/main/index.ts) provided with this repo
```sh
./scripts/run.sh
```

Test by calling the [hello world function](./examples/hello-world/index.ts)
```sh
curl --request POST 'http://localhost:9000/hello-world' \
curl --request POST 'http://localhost:9998/hello-world' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "John Doe"
Expand Down

0 comments on commit 4363be5

Please sign in to comment.