Strugling with Shelf and CORS. (URGENT)
***SOLVED***
Hi my fellow dart coders, as of late I achieve to all of you searching for some lend a hand.
We’re looking to pass complete **Dart** at our corporate, for our Stack we are the use of **Flutter** for Internet and the backend is basically composed via **Shelf**.
We can’t arrange **CORS** to paintings correctly, we have now attempted many various settings for **CORS** as the use of app.use(corsMiddleware), including the headers manually to every reaction, and plenty of issues in between.
Lately in few hours we must be exposing our paintings to our shoppers, the entirety was once running nice on native… But if we needed to deploy our server, we could not make it paintings because of **CORS**, any lend a hand or recommendation could be very much favored.
View Reddit via somewhat_credible – View Supply