Ahmedsaed / gdsc-cert

Certificate management web app. Create, Verify and Share Certificates.
https://gdsc-certificates.web.app/
MIT License
5 stars 1 forks source link

[Backward Compatibility Fix] Update the logic for extracting the prefix from certificate ID #15

Closed Ahmedsaed closed 6 months ago

Ahmedsaed commented 6 months ago

When I hosted the original version of the project (the upstream). I didn't notice that code expects the prefix to be exactly 2 characters. this didn't cause problems at first because of the way the original version is hosted (see #3 for more details). After updating the hosting process, the following changes happened:

There are two ways to fix this issue: