Merge pull request #18 from guustysebie/patch-2
Fixed a small typo
commit
87614e6093
|
@ -52,7 +52,7 @@ Now, we add one simply static file index.html to the Http root path:
|
|||
echo '<h1>Hello Drogon!</h1>' >>index.html
|
||||
```
|
||||
|
||||
The default root path is `"./"`, this could be modified by config.json also, See [Configureation File](ENG-10-Configureation-File) for more details. Then you can visit this page by URL `"http://localhost"` or`"http://localhost/index.html"` (or the IP of the server where your wepapp running).
|
||||
The default root path is `"./"`, this could be modified by config.json also, See [Configuration File](ENG-10-Configureation-File) for more details. Then you can visit this page by URL `"http://localhost"` or`"http://localhost/index.html"` (or the IP of the server where your wepapp running).
|
||||
|
||||
|
||||
![Hello Drogon!](images/hellodrogon.png)
|
||||
|
@ -160,4 +160,4 @@ We see that adding a controller to an application is very simple. You only need
|
|||
|
||||
**Note: Drogon has no restrictions to the location of the controllers source file, you could save it at the project directory also, even you could define new directory in the `CMakeLists.txt`, it is recommended to use the controllers directory for the convenience of management.**
|
||||
|
||||
# 04.0 [Controller Introduction](ENG-04-0-Controller-Introduction)
|
||||
# 04.0 [Controller Introduction](ENG-04-0-Controller-Introduction)
|
||||
|
|
Loading…
Reference in New Issue