Skip to content

Commit

Permalink
Rename for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
ardek66 committed May 23, 2022
1 parent d61c9ec commit 01b8f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geminim.nim
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ proc serveDir(server: Server, path, resPath: string): Future[Response] {.async.}
of pcLinkToFile, pcLinkToDir: result.body.add " [SYMLINK]"
result.body.add "\n"

proc parseGeminiRequest(server: Server, res: Uri): Future[Response] {.async.} =
proc processGeminiRequest(server: Server, res: Uri): Future[Response] {.async.} =
let vhostRoot = server.settings.rootDir / res.hostname

if not dirExists(vhostRoot):
Expand Down Expand Up @@ -222,7 +222,7 @@ proc handle(server: Server, client: AsyncSocket) {.async.} =

case uri.scheme
of "gemini":
let resp = await server.parseGeminiRequest(uri)
let resp = await server.processGeminiRequest(uri)

case resp.code
of StatusNull:
Expand Down

0 comments on commit 01b8f24

Please sign in to comment.