mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
fix default log color
This commit is contained in:
parent
2ffb4dccdf
commit
fd80fd2f1b
1 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ class Kemal::Logger < HTTP::Handler
|
||||||
elsif code >= 400 && code < 500
|
elsif code >= 400 && code < 500
|
||||||
return :yellow
|
return :yellow
|
||||||
else
|
else
|
||||||
return :default
|
return :light_blue
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -84,9 +84,9 @@ class Kemal::Logger < HTTP::Handler
|
||||||
when "HEAD"
|
when "HEAD"
|
||||||
return :magenta
|
return :magenta
|
||||||
when "OPTIONS"
|
when "OPTIONS"
|
||||||
return :white
|
return :light_blue
|
||||||
else
|
else
|
||||||
return :default
|
return :white
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue