Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio authored Nov 14, 2022
1 parent 2493fd3 commit f15e80d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ This is a very minimalistic proxy for enabling CORS on non CORS enabled sites.
## For Azure Static Web Apps
Create a new api entry with VSCode Azure tools or manually.
```sh
npm i --save @sctg/nocors
cd api
npm i --save @sctg/nocors
npm i --save got
npm i --save @azure/functions
```
Expand Down Expand Up @@ -47,4 +47,4 @@ const WHITELIST_REGEX=".*"
export const onRequest: PagesFunction = async (context) => {
return proxyRequest(context,WHITELIST_REGEX)
};
```
```

0 comments on commit f15e80d

Please sign in to comment.