Route example:
router.get('/.my-route/file.txt', ({ serveStatic }) => {
serveStatic(`${MY_STATIC_FOLDER}/.my-route/file.txt`)
})
After deployment if I try opening the file it responds with the error like this:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>%%%%%%</RequestId>
<HostId>$$$$$$$$$$$$$$$$$$$$$$$$</HostId>
</Error>
Though it’s served fine locally and when going by non-edge permalink.
Please assist.
Thanks!