blob: 0e5221d6707161a51b730c25c56654d1ac089025 [file] [log] [blame] [edit]
// Contains the global config values which can be adjusted
export const GridConfig = {
status: {
// How often we poll the GraphQL endpoint
xhrPollingIntervalMillis: 5000
},
// Server config (Start the Selenium Server with the "--allow-cors true" flag)
serverUri:
process.env.NODE_ENV === 'development'
? 'http://localhost:4444/graphql'
: document.location.protocol + '//' + document.location.host + document.location.pathname.replace("/ui", "") + '/graphql'
}