feat: Allow multiple origins for header Access-Control-Allow-Origin (#8517)
This commit is contained in:
@@ -81,7 +81,9 @@ module.exports.ParseServerOptions = {
|
||||
},
|
||||
allowOrigin: {
|
||||
env: 'PARSE_SERVER_ALLOW_ORIGIN',
|
||||
help: 'Sets the origin to Access-Control-Allow-Origin',
|
||||
help:
|
||||
'Sets origins for Access-Control-Allow-Origin. This can be a string for a single origin or an array of strings for multiple origins.',
|
||||
action: parsers.arrayParser,
|
||||
},
|
||||
analyticsAdapter: {
|
||||
env: 'PARSE_SERVER_ANALYTICS_ADAPTER',
|
||||
|
||||
Reference in New Issue
Block a user