We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1493e2 commit 5575edeCopy full SHA for 5575ede
1 file changed
PS/mysandbox/test.lua
@@ -16,7 +16,12 @@ log.live()
16
if not PS then log("not find PudimServer") end
17
18
19
-local serverTest = PS:create({})
+local serverTest = PS:Create{
20
+ Port = 8080,
21
+ Address = "localhost",
22
+ ServiceName = "PudimServerTest",
23
+ wrapClientFunc = nil
24
+}
25
26
serverTest:Routes("/",
27
function (req, res)
@@ -55,6 +60,6 @@ serverTest:Routes("/otherPage",
55
60
)
56
61
57
62
58
-serverTest:run()
63
+serverTest:Run()
59
64
65
log.save("./PS/mysandbox/", "log.txt")
0 commit comments