From ec87ff4813299f7fff7b97f38a9a22f6e1afdc0d Mon Sep 17 00:00:00 2001 From: ame Date: Fri, 16 Feb 2024 12:43:34 -0600 Subject: hmm --- docs/net.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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/") ... ``` -- cgit v1.2.3