Skip to content

Commit

Permalink
OMG
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 committed Jun 6, 2024
1 parent 66f6e9c commit fd83b4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main_safehaven2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
cd packages/express-backend
npm install
npm install multer
npm install cors
npm install jsonwebtoken
npm install bcrypt
cd ../../
Expand Down
13 changes: 0 additions & 13 deletions packages/express-backend/web.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,8 @@
<system.webServer>
<!-- More configuration here -->
<directoryBrowse enabled="true" />
<rewrite>
<rules>
<rule name="React Routes" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="/" />
</rule>
</rules>
</rewrite>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET, PUT, POST, PATCH, DELETE, HEAD" />
<add name="Access-Control-Allow-Headers" value="Origin, X-Requested-With, Content-Type, Accept" />
</customHeaders>
Expand Down

0 comments on commit fd83b4b

Please sign in to comment.