Serve pdf file in get route in Astro
Hi, im trying to serve a pdf file in a get route, as such:
and getting this error(see attachment)
anyone know how to do this?
1 Reply
the reason i want to do it this way instead of serving directly from /public is to have a different file name form the route