FoalTS / foal

Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
https://foalts.org/
MIT License
1.88k stars 137 forks source link

added whitelist to cors docs #1245

Open sebstec opened 6 months ago

sebstec commented 6 months ago

Issue

we should use a origin whitelist in case of allowing credentials in cors

Solution and steps

use a whitelist in the cors hook updated docs

Checklist