Skip to content

Commit ed2b454

Browse files
Update README.md
1 parent 58c3768 commit ed2b454

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Compile the application locally.
1919
yarn build
2020
```
2121

22-
## Enable S3 CORS Policy
22+
## Enable CORS Policy
2323

2424
This must be set on the S3 bucket to allow playback of media using signed URLs.
2525
```
@@ -30,3 +30,19 @@ This must be set on the S3 bucket to allow playback of media using signed URLs.
3030
</CORSRule>
3131
</CORSConfiguration>
3232
```
33+
34+
This must be set on the VidiCore instance your application is running on.
35+
```
36+
<CORSConfigurationDocument xmlns="http://xml.vidispine.com/schema/vidispine">
37+
<entry>
38+
<request>
39+
<origin>http://localhost:3000</origin>
40+
</request>
41+
<response>
42+
<allowOrigin>http://localhost:3000</allowOrigin>
43+
<allowMethods>OPTIONS,GET,HEAD,POST,PUT,DELETE</allowMethods>
44+
<allowHeaders>accept,content-type,authorization,index,size,runas</allowHeaders>
45+
<allowMaxAge>600</allowMaxAge>
46+
</response>
47+
</entry>
48+
```

0 commit comments

Comments
 (0)