Experiment with Listener Creation
This commit is contained in:
9
server/index.nim
Normal file
9
server/index.nim
Normal file
@@ -0,0 +1,9 @@
|
||||
import prologue
|
||||
|
||||
# /
|
||||
proc root*(ctx: Context) {.async.} =
|
||||
resp "<h1>Hello, World!</h1>"
|
||||
|
||||
# /auth
|
||||
proc auth*(ctx: Context) {.async.} =
|
||||
resp "<h1>Hello, Auth!</h1>"
|
||||
Reference in New Issue
Block a user