fixed typos
This commit is contained in:
parent
d4ac9e75cc
commit
15d0f7b7e3
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.
|
||||
//Will respond with content in the web/-directory, and its subdirectories.
|
||||
//Default file: index.html
|
||||
//Can for instance be used to retrieve a HTML 5 client that uses REST-resources on this server
|
||||
//Can for instance be used to retrieve an HTML 5 client that uses REST-resources on this server
|
||||
httpserver.default_resource["^/?(.*)$"]["GET"]=[](ostream& response, const Request& request, const smatch& path_match) {
|
||||
string filename="web/";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue