Skip to content

Commit

Permalink
Update _index.md
Browse files Browse the repository at this point in the history
fix how define dapr server to it can work directly when you copy

Signed-off-by: Feyyaz Acet <[email protected]>
  • Loading branch information
fyzact authored Nov 18, 2023
1 parent 66d4bd0 commit 4292b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daprdocs/content/en/js-sdk-docs/js-server/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ myApp.get("/my-custom-endpoint", (req, res) => {
const daprServer = new DaprServer({
serverHost: "127.0.0.1", // App Host
serverPort: "50002", // App Port
serverHttp: myApp
serverHttp: myApp, //express server
clientOptions: {
daprHost,
daprPort,
Expand Down

0 comments on commit 4292b4d

Please sign in to comment.