Summary: This diff moves send intern request from the browser to the server. The reason to make this change is that making such requests from a browser environment causes CORS restrictions to kick in. Reviewed By: nikoant Differential Revision: D32835449 fbshipit-source-id: e8e92e51ca963aa50b3c859bb61c2381171e85ae
35 lines
810 B
TypeScript
35 lines
810 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
import {DeviceOS} from 'flipper-plugin';
|
|
|
|
export default Object.freeze({
|
|
// Enables the flipper data to be exported through shareabale link
|
|
ENABLE_SHAREABLE_LINK: false,
|
|
|
|
IS_PUBLIC_BUILD: true,
|
|
|
|
FEEDBACK_GROUP_LINK: 'https://github.com/facebook/flipper/issues',
|
|
|
|
// Workplace Group ID's
|
|
DEFAULT_SUPPORT_GROUP: {
|
|
name: 'Default Support Group',
|
|
workplaceGroupID: 0,
|
|
requiredPlugins: ['Inspector'],
|
|
defaultPlugins: ['DeviceLogs'],
|
|
supportedOS: ['Android'] as Array<DeviceOS>,
|
|
deeplinkSuffix: 'default',
|
|
papercuts: '',
|
|
},
|
|
|
|
SUPPORT_GROUPS: [],
|
|
|
|
INTERN_URL: '',
|
|
});
|