Added FN_API_CORS_HEADERS for configuring CORS headers (#997)

This commit is contained in:
Tomas Knappek
2018-05-15 10:03:01 -07:00
committed by Alexander Bransby-Sharples
parent 37354838b4
commit 19f09b3a6c
3 changed files with 16 additions and 4 deletions

View File

@@ -54,7 +54,8 @@ const (
EnvNodeType = "FN_NODE_TYPE"
EnvPort = "FN_PORT" // be careful, Gin expects this variable to be "port"
EnvGRPCPort = "FN_GRPC_PORT"
EnvAPICORS = "FN_API_CORS"
EnvAPICORSOrigins = "FN_API_CORS_ORIGINS"
EnvAPICORSHeaders = "FN_API_CORS_HEADERS"
EnvZipkinURL = "FN_ZIPKIN_URL"
EnvJaegerURL = "FN_JAEGER_URL"
// Certificates to communicate with other FN nodes