Skip to content

Commit 8bfcfab

Browse files
authored
fix(example-web): enable CORS by binding collector to all interfaces (#3204)
1 parent 96e1f87 commit 8bfcfab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/web/docker/collector-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ receivers:
22
otlp:
33
protocols:
44
grpc:
5+
endpoint: 0.0.0.0:4317
56
http:
7+
endpoint: 0.0.0.0:4318
68
cors:
79
allowed_origins:
810
- http://*

0 commit comments

Comments
 (0)