blob: 9a4b05a8d84b317a70ccbc19ec8767b4b02f55c7 [file] [log] [blame]
// 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'
}