I have a middlewares.ts file in my config folder, but when I try to build I keep getting this error:
Config file not loaded, restricted filename: middleware.js
Did you mean middlewares]} ?
And the middlewares is not working. which basically was supposed to allow S3 images to load and fix the CSP issue.
This topic has been created from a Discord post (1290727405685571606) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord