Skip to content

Commit 270f0e6

Browse files
authored
Fix few broken links in README (#335)
1 parent f42936a commit 270f0e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/Webserver/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ In this example, the `RoutePostTest` will be called every time the called url wi
6767

6868
The `RouteAnyTest`is called whenever the url is `test/any` whatever the method is.
6969

70-
There is a more advance example with simple REST API to get a list of Person and add a Person. Check it in the [sample](./WebServer.Sample/ControllerPerson.cs).
70+
There is a more advance example with simple REST API to get a list of Person and add a Person. Check it in the [sample](./WebServer.Sample/WebServer.Sample/ControllerPerson.cs).
7171

7272
> ![Important]
7373
>
@@ -356,7 +356,7 @@ MORETEXT
356356
MORETEXTANDENCRYPTED
357357
-----END RSA PRIVATE KEY-----";
358358

359-
using (WebServer server = new WebServer(443, HttpProtocol.Https)
359+
using (WebServer server = new WebServer(443, HttpProtocol.Https))
360360
{
361361
// Add a handler for commands that are received by the server.
362362
server.CommandReceived += ServerCommandReceived;
@@ -371,7 +371,7 @@ using (WebServer server = new WebServer(443, HttpProtocol.Https)
371371
```
372372

373373
> [!IMPORTANT]
374-
> Because the certificate above is not issued from a Certificate Authority it won't be recognized as a valid certificate. If you want to access the nanoFramework device with your browser, for example, you'll have to add the [CRT file](WebServer.Sample\webserver-cert.crt) as a trusted one. On Windows, you just have to double click on the CRT file and then click "Install Certificate...".
374+
> Because the certificate above is not issued from a Certificate Authority it won't be recognized as a valid certificate. If you want to access the nanoFramework device with your browser, for example, you'll have to add the [CRT file](./WebServer.Sample/WebServer.Sample/webserver-cert.crt) as a trusted one. On Windows, you just have to double click on the CRT file and then click "Install Certificate...".
375375
376376
You can of course use the routes as defined earlier. Both will work, event or route with the notion of controller.
377377

0 commit comments

Comments
 (0)