upload_things/
route.rs

1pub enum UtRoute {
2    PresignedUrl,
3}
4impl Into<&str> for UtRoute {
5    fn into(self) -> &'static str {
6        match self {
7            UtRoute::PresignedUrl=> "/api/uploadthing/presigned-url",
8        }
9    }
10}