Commit Graph

3 Commits

Author SHA1 Message Date
patrick brisbin
fed3f0c0fa Fix logical error 2011-09-11 00:35:34 -04:00
patrick brisbin
dcb27df1fc Be a little more configurable 2011-09-11 00:17:07 -04:00
patrick brisbin
d3c7ccebe1 Provide sane defaults with less scaffolding
Yesod.Settings provides the typical definitions for AppConfig,
AppEnvironment, and loadConfig (read from YAML).

Yesod.Main provides a single defaultMain function which accepts your
usual withSiteArg function and runs via Warp calling the now provided
loadConfig to figure out what to do.

Note: Yesod re-exports Y.Settings and Y.Main -- This is probably not the
right thing to do since it would cause collisions with users not using
the provided functionality (including all existing users).
2011-09-10 23:21:35 -04:00