Open ryancwalsh opened 2 years ago
Ensure that HTTP is blocked (because HTTPS is enforced via web-app/pages/_middleware.ts).
web-app/pages/_middleware.ts
(We wouldn't want web-app/pages/api/mint-cert.ts exposed via HTTP because our secret API_KEY would be leaked, and anyone could issue any certificate.)
web-app/pages/api/mint-cert.ts
API_KEY
2022-02-02 13:00 ET http://near-certification-tools.onrender.com/ does seem to successfully redirect to https://near-certification-tools.onrender.com/ but we'll want to test the minting later.
Ensure that HTTP is blocked (because HTTPS is enforced via
web-app/pages/_middleware.ts
).(We wouldn't want
web-app/pages/api/mint-cert.ts
exposed via HTTP because our secretAPI_KEY
would be leaked, and anyone could issue any certificate.)2022-02-02 13:00 ET http://near-certification-tools.onrender.com/ does seem to successfully redirect to https://near-certification-tools.onrender.com/ but we'll want to test the minting later.