aboutsummaryrefslogtreecommitdiff
path: root/docs/net.md
diff options
context:
space:
mode:
authorame <[email protected]>2024-02-16 12:43:34 -0600
committerame <[email protected]>2024-02-16 12:43:34 -0600
commitec87ff4813299f7fff7b97f38a9a22f6e1afdc0d (patch)
tree76533bf2e7716ec46a9624d50fe46d34f434e53a /docs/net.md
parent93e16534bfbc0f52f7c453b399b583b0a02cbf87 (diff)
hmm
Diffstat (limited to 'docs/net.md')
-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/")
...
```