NEAR-Edu / near-certification-tools

2 stars 2 forks source link

Ensure that HTTP is blocked and HTTPS is required #36

Open ryancwalsh opened 2 years ago

ryancwalsh commented 2 years ago

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 secret API_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.