Add login function
This commit is contained in:
+5
-3
@@ -1,8 +1,10 @@
|
||||
module Main where
|
||||
|
||||
import Web.Scotty (scotty)
|
||||
import Web.Spock (spock, runSpock)
|
||||
|
||||
import Lisa (app)
|
||||
import Lisa (mkConfig, app)
|
||||
|
||||
main :: IO ()
|
||||
main = scotty 8080 app
|
||||
main = do
|
||||
cfg <- mkConfig
|
||||
runSpock 8080 $ spock cfg app
|
||||
|
||||
Reference in New Issue
Block a user