Skip to content

Commit 6dd2485

Browse files
Update Web.Config
add cors support
1 parent c45aaf2 commit 6dd2485

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Web.Config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
33
<system.webServer>
4+
<httpProtocol>
5+
<customHeaders>
6+
<add name="Access-Control-Allow-Origin" value="*" />
7+
<add name="Access-Control-Allow-Methods" value="*" />
8+
</customHeaders>
9+
</httpProtocol>
410
<directoryBrowse enabled="true" />
511
<httpErrors errorMode="Custom">
612
<remove statusCode="404" subStatusCode="-1" />

0 commit comments

Comments
 (0)