File tree Expand file tree Collapse file tree 2 files changed +21
-10
lines changed Expand file tree Collapse file tree 2 files changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,10 @@ components:
144144 type : string
145145 metricsServerCert :
146146 type : string
147- metricsAllowOrigin :
148- type : string
147+ metricsAllowOrigins :
148+ type : array
149+ items :
150+ type : string
149151 metricsTrustedProxies :
150152 type : array
151153 items :
@@ -162,8 +164,10 @@ components:
162164 type : string
163165 pprofServerCert :
164166 type : string
165- pprofAllowOrigin :
166- type : string
167+ pprofAllowOrigins :
168+ type : array
169+ items :
170+ type : string
167171 pprofTrustedProxies :
168172 type : array
169173 items :
@@ -180,8 +184,10 @@ components:
180184 type : string
181185 playbackServerCert :
182186 type : string
183- playbackAllowOrigin :
184- type : string
187+ playbackAllowOrigins :
188+ type : array
189+ items :
190+ type : string
185191 playbackTrustedProxies :
186192 type : array
187193 items :
@@ -256,8 +262,10 @@ components:
256262 type : string
257263 hlsServerCert :
258264 type : string
259- hlsAllowOrigin :
260- type : string
265+ hlsAllowOrigins :
266+ type : array
267+ items :
268+ type : string
261269 hlsTrustedProxies :
262270 type : array
263271 items :
@@ -291,8 +299,10 @@ components:
291299 type : string
292300 webrtcServerCert :
293301 type : string
294- webrtcAllowOrigin :
295- type : string
302+ webrtcAllowOrigins :
303+ type : array
304+ items :
305+ type : string
296306 webrtcTrustedProxies :
297307 type : array
298308 items :
Original file line number Diff line number Diff line change 11package conf
22
3+ // AllowedOrigins is a list of allowed CORS origins.
34type AllowedOrigins []string
You can’t perform that action at this time.
0 commit comments