Skip to content

Commit

Permalink
Merge branch 'release-1.0.13' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
entrotech committed Jul 20, 2020
2 parents 32c7300 + f6a926d commit 05ceb48
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "food-oasis-client",
"description": "React Client for Food Oasis",
"version": "1.0.12",
"version": "1.0.13",
"author": "Hack for LA",
"license": "MIT",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/ResultsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ const ResultsList = ({

{isOpenFlag &&
!(stakeholder.inactiveTemporary || stakeholder.inactive) ? (
<em className={classes.openIndicatorLabel}>OPEN</em>
<em className={classes.openIndicatorLabel}>OPEN NOW</em>
) : null}

{isAlmostClosedFlag &&
Expand Down
2 changes: 2 additions & 0 deletions client/src/components/ResultsMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ function Map({
isVerified={isVerified}
color={color}
categories={stakeholder.categories}
inactive={stakeholder.inactive}
inactiveTemporary={stakeholder.inactiveTemporary}
/>
);
})}
Expand Down
103 changes: 103 additions & 0 deletions doc/dns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
```
$ heroku domains --app food-oasis
=== food-oasis Heroku Domain
food-oasis.herokuapp.com
=== food-oasis Custom Domains
Domain Name DNS Record Type DNS Target
foodoasis.la ALIAS or ANAME ancient-durian-ihansyjz7m4f0l3rv93fqzfa.herokudns.com
darra@Lenovo MINGW64 /c/git/hackforla/food-oasis (develop) heroku
$ heroku certs:auto:enable --app food-oasis
Enabling Automatic Certificate Management... starting. See status with
heroku certs:auto or wait until active with heroku certs:auto:wait===
Your certificate will now be managed by Heroku. Check the status
by running heroku certs:auto.
$ heroku certs:auto --app food-oasis
=== Automatic Certificate Management is enabled on food-oasis
Domain Status Reason Last Updated──────────── ─────── ──────────────────────────────── ────────────foodoasis.la Failing CDN not returning HTTP challenge 1 minute
=== Some domains are failing validation, please verify that your DNS
matches: heroku domains
See our documentation at https://devcenter.heroku.com/articles/automated-certificate-management#failure-reasons
```

Modified the Cloudflare DNS records

```
$ heroku certs:auto --app food-oasis
=== Automatic Certificate Management is enabled on food-oasis
Domain Status Reason Last Updated
──────────── ─────── ─────────────────────────────── ────────────────── ───── inute
foodoasis.la Failing Strict TLS in CDN not supported less than a minute matche
=== Some domains are failing validation, please verify that your DNS tomate
matches: heroku domains
See our documentation at https://devcenter.heroku.com/articles/automated-certificate-management#failure-reasons
$ curl -I www.foodoasis.la
HTTP/1.1 301 Moved Permanently
Date: Fri, 17 Jul 2020 17:25:32 GMT
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Fri, 17 Jul 2020 18:25:32 GMT
Location: https://www.foodoasis.la/
cf-request-id: 03ff685f7f000004efa9273200000001
Server: cloudflare
CF-RAY: 5b45a9abfda504ef-LAX
darra@Lenovo MINGW64 /c/git/hackforla/food-oasis (develop)
$ curl -I foodoasis.la
HTTP/1.1 301 Moved Permanently
Date: Fri, 17 Jul 2020 17:26:30 GMT
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Fri, 17 Jul 2020 18:26:30 GMT
Location: https://foodoasis.la/
cf-request-id: 03ff69454c00000568b4826200000001
Server: cloudflare
CF-RAY: 5b45ab1bac9a0568-LAX
darra@Lenovo MINGW64 /c/git/hackforla/food-oasis (develop)
$ heroku certs:auto --app food-oasis
=== Automatic Certificate Management is enabled on food-oasis
Domain Status Reason Last Updated
──────────── ─────── ─────────────────────────────── ────────────
foodoasis.la Failing Strict TLS in CDN not supported 1 minute
=== Some domains are failing validation, please verify that your DNS matches: heroku domains
See our documentation at https://devcenter.heroku.com/articles/automated-certificate-management#failure-reasons
darra@Lenovo MINGW64 /c/git/hackforla/food-oasis (develop)
$ heroku domains --app food-oasis
=== food-oasis Heroku Domain
food-oasis.herokuapp.com
=== food-oasis Custom Domains
Domain Name DNS Record Type DNS Target
foodoasis.la ALIAS or ANAME ancient-durian-ihansyjz7m4f0l3rv93fqzfa.herokudns.com
```


I think the following was because I had already added the domain from
the Heroku UI:

```
$ heroku domains:add --app food-oasis foodoasis.la
Adding foodoasis.la to ⬢ food-oasis... done
» Error: Domain already added to this app.
»
» Error ID: invalid_params
darra@Lenovo MINGW64 /c/git/hackforla/food-oasis (develop)
```
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foodoasis",
"version": "1.0.12",
"version": "1.0.13",
"author": "Hack for LA",
"description": "Web API Server for Food Oasis",
"main": "server.js",
Expand Down

0 comments on commit 05ceb48

Please sign in to comment.