hostFor static method
- String appEnv
Host of the public site for a build of appEnv (APP_ENV): the
dutato-staging Cloudflare Pages project for staging (CI deploys it on
every merge to main), and the prod dutato project otherwise
(./dto release and ./dto deploy web).
Implementation
static String hostFor(String appEnv) =>
appEnv == 'staging' ? 'dutato-staging.pages.dev' : 'dutato.pages.dev';