mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Fix filename in sample
Mismatch between code sample and described js filename.
This commit is contained in:
committed by
Steve Sanderson
parent
8d1cb3a537
commit
6545e11bf2
@@ -67,7 +67,7 @@ public async Task<IActionResult> MyAction([FromServices] INodeServices nodeServi
|
||||
}
|
||||
```
|
||||
|
||||
Of course, you also need to supply the Node.js code you want to invoke. Create a file called `addNumber.js` at the root of your ASP.NET Core application, and add the following code:
|
||||
Of course, you also need to supply the Node.js code you want to invoke. Create a file called `addNumbers.js` at the root of your ASP.NET Core application, and add the following code:
|
||||
|
||||
```javascript
|
||||
module.exports = function (callback, first, second) {
|
||||
|
||||
Reference in New Issue
Block a user