Skip to content

Commit

Permalink
Update _index.md (#552)
Browse files Browse the repository at this point in the history
* Update _index.md

fix how define dapr server to it can work directly when you copy

Signed-off-by: Feyyaz Acet <[email protected]>

* Update daprdocs/content/en/js-sdk-docs/js-server/_index.md

Signed-off-by: Shubham Sharma <[email protected]>

---------

Signed-off-by: Feyyaz Acet <[email protected]>
Signed-off-by: Shubham Sharma <[email protected]>
Co-authored-by: Shubham Sharma <[email protected]>
  • Loading branch information
fyzact and shubham1172 authored Nov 20, 2023
1 parent 66d4bd0 commit 2d41bc8
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,
clientOptions: {
daprHost,
daprPort,
Expand Down

0 comments on commit 2d41bc8

Please sign in to comment.