diff --git a/examples/todos/app/Route/Login.elm b/examples/todos/app/Route/Login.elm index 5e42754b..e73f2735 100644 --- a/examples/todos/app/Route/Login.elm +++ b/examples/todos/app/Route/Login.elm @@ -108,7 +108,7 @@ form = (\email -> DataSource.map2 EnvVariables (DataSource.Env.expect "TODOS_SEND_GRID_KEY") - (DataSource.Env.get "URL" + (DataSource.Env.get "BASE_URL" |> DataSource.map (Maybe.withDefault "http://localhost:1234") ) |> DataSource.andThen (sendEmailDataSource email)