Skip to content

Commit

Permalink
v1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed Jun 11, 2023
1 parent 5142075 commit 813ef16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scorper.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "1.1.4"
version = "1.1.5"
author = "bung87"
description = "micro and elegant web framework"
license = "Apache License 2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/scorper/http/streamserver.nim
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ proc processRequest(
return true

req.path = scorper.httpParser.getPath()
const prefix = "http://" & (when isSecurity: "s" else: "")
const prefix = "http" & (when isSecurity: "s" else: "") & "://"
try:
req.url = parseUrl(prefix & req.hostname & req.path)[]
except ValueError as e:
Expand Down

0 comments on commit 813ef16

Please sign in to comment.