Intro-To-Serverless
Intro-To-Serverless copied to clipboard
[Content Bug] Week4 - Step 3:
https://github.com/bitprj/Intro-To-Serverless/blob/main/.bit/responses/4.3-Week%204%20Step%203.md
Identify Steps:
- Step 3
Week: Week 4
Describe the Issue
- The section should have a link to a in depth explanation of CORS.
- Wildcard for allowing CORS is usually a no-go with respect to security settings. The host and port used by live server should be entered instead
Proposed Fix
- Add the link https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS to provide more in depth information about CORS
- Do not wildcard the CORS for Azure Functions, but use the host and port used by Live Server (see settings)
It might also be worth to mention that you can also configure CORS, when running the functions locally via the local.settings.json file.