File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,8 +24,3 @@ My implementation uses the following libraries:
2424- ` tagsoup ` for parsing the web page and getting out the links
2525- ` network-uri ` to deal with relative/absolute URIs
2626- ` configurator ` to read the configuration file
27-
28- ## Deployment
29-
30- I compile a statically linked binary on Linux and dropped that on an EC2
31- instance.
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ data Config = Config
2323 { cPatterns :: [T. Text ]
2424 , cUrl :: ! T. Text
2525 , cInterval :: ! Int
26- , cMailFrom :: ! T. Text
27- , cMailTo :: ! T. Text
2826 , cSlackWebhookUrl :: ! T. Text
2927 } deriving (Show )
3028
@@ -33,8 +31,6 @@ parseConfig conf = do
3331 cPatterns <- C. require conf " patterns"
3432 cUrl <- C. require conf " url"
3533 cInterval <- C. require conf " interval"
36- cMailFrom <- C. require conf " mail.from"
37- cMailTo <- C. require conf " mail.to"
3834 cSlackWebhookUrl <- C. require conf " slack.webhook_url"
3935 return Config {.. }
4036
You can’t perform that action at this time.
0 commit comments