pastebin icon indicating copy to clipboard operation
pastebin copied to clipboard

Update main.rs

Open ReVoLt112 opened this issue 11 months ago • 1 comments

Fix get plain text instead of HTML on 404

ReVoLt112 avatar Feb 26 '24 13:02 ReVoLt112

This doesn't seem like it would work. You're changing it for /raw/ which really should be Plain anyway, and the missing paste case for it is handled a few lines above. For reference on my branch I have this change to cover the case of 404s - https://github.com/gavtroy/pastebin/commit/5dae93998b9cf758d30cf23cf629863df8b3f5a1

gavtroy avatar Mar 25 '24 00:03 gavtroy