aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/net.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/net.md b/docs/net.md
index a39aaa7..da01fb2 100644
--- a/docs/net.md
+++ b/docs/net.md
@@ -110,13 +110,13 @@ res.header["test"] = "wowa"
...
```
-### server:static_serve **
+### res:serve **
-'takes two strings, first is server serve path, second is local path, being a file or directory
+'takes one string, which is a path that will be served, file or dir
```lua
...
-server:static_serve("/public", "./html/")
+res:serve("./html/")
...
```