Update doc
This commit is contained in:
parent
a11fbf6e2f
commit
937bb9f768
|
@ -145,6 +145,8 @@ Server push is also supported.
|
||||||
if(req->path() == "/my.css") {
|
if(req->path() == "/my.css") {
|
||||||
res->write_head(200);
|
res->write_head(200);
|
||||||
res->end(file_reader("my.css"));
|
res->end(file_reader("my.css"));
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
res->write_head(404);
|
res->write_head(404);
|
||||||
|
|
Loading…
Reference in New Issue