Open SongWithoutWords opened 6 years ago
The prefixing of YESOD
was done recently. See this thread to learn more about the reasoning: https://github.com/yesodweb/yesod/issues/1517#issuecomment-396772966
Probably keter should be updated to make it work with the new environment variable ? A fix there would be ideal, IMO.
Wouldn't changing the variable on Keter's end run the risk of breaking existing server apps?
The Yesod scaffold port environment variable is
YESOD_PORT
: https://github.com/yesodweb/yesod-scaffold/blob/ce163c0b2dc147d01182ffe537b016d866e5c1c5/config/settings.yml#L6This is incompatible with the environment variable used by Keter which is
PORT
. The results of this discrepancy is a silent failure when deploying apps created from the Yesod scaffold with Keter, as described here: https://github.com/snoyberg/keter/issues/189.The documentation for Keter has since been updated to warn of this discrepancy, but it would be ideal if the Yesod scaffold worked with Keter out of the box.