Skip to content

Commit

Permalink
Merge pull request #12 from nikkiconley/xxx-AIAppsFluencyHack
Browse files Browse the repository at this point in the history
Updates for the coachs guide for CORS issue on front end
  • Loading branch information
perktime authored Oct 7, 2024
2 parents 0271d7f + 17b3fb3 commit cb3ace0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion 068-AzureOpenAIApps/Coach/Solution-00.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Table of contents for this Coach Guide:
- [Deploying Azure Resources](#deploying-azure-resources)
- [Microsoft FTEs and the FDPO Tenant](#microsoft-ftes-and-the-fdpo-tenant)
- [Azure AI Capacity Issues](#azure-ai-capacity-issues)
- [Codespaces vs Local Workstation](#codespaces-vs-local-workstation)
- [CORS Error When Running the Front End App](#cors-error-when-running-the-front-end-app) [Codespaces vs Local Workstation](#codespaces-vs-local-workstation)
- [Debugging Python on Local Workstation](#debugging-python-on-local-workstation)
- [GitHub Codespaces Tips](#github-codespaces-tips)
- [Working with Multiple Terminal Sessions in VS Code](#working-with-multiple-terminal-sessions-in-vs-code)
Expand Down Expand Up @@ -78,6 +78,12 @@ We **strongly** recommend students use GitHub Codespaces as their development en
Students should avoid doing the local workstation setup because there is the potential to adversely affect their local workstation (especially if they accidentally change the default Python version on Linux/Mac/WSL). There can be a lot of variations in terms of the student's OS version, already installed software packages like Python, Node, etc. that may cause them to lose time trying to get their environment working.

#### CORS Error When Running the Front End App

If a CORS error occurs when a student is running the front end, change the visibility of the backend port to public.

![screenshot of how the backend port should be configures](../images/CORS-issue-fix.png)


#### Debugging Python on Local Workstation

Expand Down
Binary file added 068-AzureOpenAIApps/images/CORS-issue-fix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cb3ace0

Please sign in to comment.