Closed lus closed 1 year ago
I decided not to do this. The main use case of a raw endpoint is CLI usage, for example using curl, which wouldn't support URL hashes and decryption using JS anyways. This will stay in the backend. However, maybe the URL path will change.
Currently, the raw paste view (
GET /<paste_id>/raw
) is handled by the backend while the normal paste view (GET /<paste_id>
) is being routed to the frontend.It would make sense to move this as paste encryption is done on the client side and currently paste decryption is not possible for the raw view.
It would also provide a structured way of different view options which then could include #21 .