1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 12:52:31 +03:00

Change port to 3080 (#166)

to avoid conflicts with front-end
This commit is contained in:
Jens Krause 2017-07-09 06:38:20 +02:00
parent 2c9cf845e5
commit 45c4905783
No known key found for this signature in database
GPG Key ID: 3B2FAFBCEFA5906D

View File

@ -188,7 +188,7 @@ mainWith config = do
return cfg {
spc_maxRequestSize = Just (1024*1024) }
when (_prerender config) $ prerenderPages config db
runSpock 8080 $ spock spockConfig $ do
runSpock 3080 $ spock spockConfig $ do
middleware (EKG.metrics waiMetrics)
middleware (staticPolicy (addBase "static"))
-- Javascript
@ -269,10 +269,10 @@ mainWith config = do
-- take them and inject into the page. We don't want to duplicate
-- rendering on server side and on client side.
methods
Spock.subcomponent "auth" $ do
Spock.get "login" $ lucidWithConfig renderLogin
Spock.get "register" $ lucidWithConfig renderRegister
adminHook :: ActionCtxT ctx (WebStateM () () ServerState) ()