feat: allow custom cors origin header (#6772)
This commit is contained in:
@@ -28,6 +28,10 @@ module.exports.ParseServerOptions = {
|
||||
help: 'Add headers to Access-Control-Allow-Headers',
|
||||
action: parsers.arrayParser,
|
||||
},
|
||||
allowOrigin: {
|
||||
env: 'PARSE_SERVER_ALLOW_ORIGIN',
|
||||
help: 'Sets the origin to Access-Control-Allow-Origin',
|
||||
},
|
||||
analyticsAdapter: {
|
||||
env: 'PARSE_SERVER_ANALYTICS_ADAPTER',
|
||||
help: 'Adapter module for the analytics',
|
||||
|
||||
Reference in New Issue
Block a user