Merge pull request #18 from guustysebie/patch-2

Fixed a small typo
An Tao 2021-07-25 08:51:20 +08:00 committed by GitHub
commit 87614e6093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

@ -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)