mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
chore: Add CORS headers to Telemetry and OTelCollector
This commit adds CORS headers to the Telemetry and OTelCollector components to allow cross-origin resource sharing. This enables the client to make requests to these components from different origins. The headers include "Access-Control-Allow-Credentials", "Access-Control-Allow-Origin", "Access-Control-Allow-Methods", and "Access-Control-Allow-Headers".
This commit is contained in:
parent
55e043f3bd
commit
5172d7f349
@ -11,8 +11,10 @@ receivers:
|
|||||||
otlp:
|
otlp:
|
||||||
protocols:
|
protocols:
|
||||||
grpc:
|
grpc:
|
||||||
|
endpoint: 0.0.0.0:4317
|
||||||
include_metadata: true
|
include_metadata: true
|
||||||
http:
|
http:
|
||||||
|
endpoint: 0.0.0.0:4318
|
||||||
include_metadata: true
|
include_metadata: true
|
||||||
cors:
|
cors:
|
||||||
allowed_origins: ["*"]
|
allowed_origins: ["*"]
|
||||||
|
Loading…
Reference in New Issue
Block a user