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
commitd8651138d63cd021afa4f719ce5007ed289d0fb6 (patch)
tree76533bf2e7716ec46a9624d50fe46d34f434e53a /docs/net.md
parent1945bfae39b7d373122cb7dfd0ac0976276bcc7c (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/")
...
```