- add logo and favicon

This commit is contained in:
Alex Ling
2020-02-17 14:53:01 +00:00
parent deef4d2144
commit 569c01ab28
8 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ class FS
end
class StaticHandler < Kemal::Handler
@dirs = ["/css", "/js"]
@dirs = ["/css", "/js", "/img", "/favicon.ico"]
def call(env)
if request_path_startswith env, @dirs