Commit dcf8e94b authored by Nicolas Lenz's avatar Nicolas Lenz

Fix default baseUrl config

parent b5714d71
Pipeline #286 passed with stage
in 2 minutes and 47 seconds
......@@ -26,7 +26,7 @@ data NavItem = NavItem {
instance FromJSON Config where
parseJSON = withObject "Config" $ \v -> Config
<$> v .: "baseUrl" .!= "https://example.com"
<$> v .:? "baseUrl" .!= "https://example.com"
<*> v .:? "folderOutput" .!= [reldir|out|]
<*> v .:? "folderArticle" .!= [reldir|article|]
<*> v .:? "folderPage" .!= [reldir|page|]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment