Skip to content

Commit

Permalink
upd sandbox_api
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethosa committed Jan 12, 2024
1 parent 2f2d7a4 commit a4730c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/sandbox_api/src/main.nim
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ else:


const host {.strdefine.} = "127.0.0.1"
const port {.strdefine.} = "5123"
const port {.intdefine.} = 5123


serve host, parseInt(port):
serve host, port:
post "/[task:Task[m]]":
{.gcsafe.}:
if task.code.len > 2048:
Expand Down

0 comments on commit a4730c8

Please sign in to comment.