Skip to content

Commit 97b6382

Browse files
committed
fix error
1 parent 37482da commit 97b6382

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Merly.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ function handler(request::HTTP.Messages.Request)
9797

9898
HTTP.setheader(response,"Content-Type" => "text/plain" )
9999

100-
#try
100+
try
101101
response.status= 200
102102
response.body = getindex(routes, searchroute)(q,request,response)
103-
#=catch
103+
catch
104104
try
105105
response.body = processroute_pattern(searchroute,request,response)
106106
catch
107107
response.body = getindex(routes, "notfound")(q,request,response)
108108
end
109-
end=#
109+
end
110110

111111
for (key, value) in q.headers
112112
HTTP.setheader(response,key => value )

0 commit comments

Comments
 (0)