You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help: 'Full path to your GraphQL custom schema.graphql file',
312
312
},
313
+
headerAliases: {
314
+
env: 'PARSE_SERVER_HEADER_ALIASES',
315
+
help: '(Optional) Define aliases for Parse request headers. For each canonical Parse header, set an array of accepted alias headers. If the canonical header is not present in a request, Parse Server uses the first matching alias.<br><br>Example:<br>`{ "X-Parse-Application-Id": ["X-App-Id"], "X-Parse-Session-Token": ["X-Session-Token"] }`<br><br>When setting this option via an environment variable, provide a JSON object string.',
316
+
action: parsers.objectParser,
317
+
},
313
318
host: {
314
319
env: 'PARSE_SERVER_HOST',
315
320
help: 'The host to serve ParseServer on, defaults to 0.0.0.0',
/* (Optional) Define aliases for Parse request headers. For each canonical Parse header, set an array of accepted alias headers. If the canonical header is not present in a request, Parse Server uses the first matching alias.<br><br>Example:<br>`{ "X-Parse-Application-Id": ["X-App-Id"], "X-Parse-Session-Token": ["X-Session-Token"] }`<br><br>When setting this option via an environment variable, provide a JSON object string.
95
+
:ENV: PARSE_SERVER_HEADER_ALIASES */
96
+
headerAliases: ?{[string]: string[]};
94
97
/* Sets origins for Access-Control-Allow-Origin. This can be a string for a single origin or an array of strings for multiple origins. */
0 commit comments