isomerpages / isomercms-frontend

Frontend for the Singapore Government's static website builder and host
MIT License
9 stars 9 forks source link

Base64 encoding in the frontend #360

Open alexanderleegs opened 3 years ago

alexanderleegs commented 3 years ago

Currently, our handling of encoding is inconsistent - some functions handle the encoding while others do not. Moving forward, we should standardise this behaviour by having the backend be in charge of base64 encoding/decoding. This also means any YAML needs to be loaded and sent as a JSON response.

kwajiehao commented 3 years ago

Partially completed with PR #380 and PR #133 on the backend.

The remaining parts of the frontend codebase which handles base64 encoding and decoding will be cleaned up in a subsequent PR.