Skip to content

Commit d3523d6

Browse files
authored
Merge pull request mtconnect#514 from robot-ranger/506-add-cors
2 parents be0d0c3 + 5f8187f commit d3523d6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

demo/compose/agent/agent.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ MinCompressFileSize = 10k
1010
DataPath = /mtconnect/data
1111
ConfigPath = /mtconnect/config
1212

13+
HttpHeaders {
14+
Access-Control-Allow-Origin = *
15+
Access-Control-Allow-Methods = GET
16+
Access-Control-Allow-Headers = Accept
17+
}
18+
1319
Files {
1420
schemas {
1521
Path = schemas

0 commit comments

Comments
 (0)