szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.51k stars 151 forks source link

Fix raw pastes returning 404 #218

Open GizmoTjaz opened 10 months ago

GizmoTjaz commented 10 months ago

Whenever a user visits the raw paste, the page is returned with a 404 status code, even if the paste exists. I assume this isn't intentional.

Before:

image

After:

image