fixed typos
This commit is contained in:
parent
4c4ae6ac09
commit
d4ac9e75cc
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
|
@ -74,7 +74,7 @@ int main() {
|
||||||
//Default GET-example. If no other matches, this anonymous function will be called.
|
//Default GET-example. If no other matches, this anonymous function will be called.
|
||||||
//Will respond with content in the web/-directory, and its subdirectories.
|
//Will respond with content in the web/-directory, and its subdirectories.
|
||||||
//Default file: index.html
|
//Default file: index.html
|
||||||
//Can be used to retrieve an HTML 5 client using REST-resources on this server
|
//Can for instance be used to retrieve a HTML 5 client that uses REST-resources on this server
|
||||||
httpserver.default_resource["^/?(.*)$"]["GET"]=[](ostream& response, const Request& request, const smatch& path_match) {
|
httpserver.default_resource["^/?(.*)$"]["GET"]=[](ostream& response, const Request& request, const smatch& path_match) {
|
||||||
string filename="web/";
|
string filename="web/";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue