Added loading indicators via htmx-indicator, removed unattributable ASCII art and replaced with the project logo from the README, minor touches on stylesheet and added clickable links in the display.
This commit is contained in:
@ -7,12 +7,14 @@ import Feature.Sharing.HTTP as Sharing
|
||||
|
||||
import Data.Maybe (Maybe (Nothing))
|
||||
import Network.Wai.Middleware.RequestLogger (logStdoutDev)
|
||||
import Network.Wai.Middleware.Static
|
||||
import Web.Scotty.Trans
|
||||
|
||||
app :: PurrApp ()
|
||||
app = do
|
||||
-- Middleware definition
|
||||
middleware logStdoutDev
|
||||
middleware $ staticPolicy (noDots >-> addBase "views/public")
|
||||
|
||||
-- Core Routes
|
||||
get "/" $ do
|
||||
|
Reference in New Issue
Block a user