mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49: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:
|
||||
protocols:
|
||||
grpc:
|
||||
endpoint: 0.0.0.0:4317
|
||||
include_metadata: true
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
include_metadata: true
|
||||
cors:
|
||||
allowed_origins: ["*"]
|
||||
|
Loading…
Reference in New Issue
Block a user