diff --git a/src/components/HealthCheck.js b/src/components/HealthCheck.js new file mode 100644 index 00000000..a97790a5 --- /dev/null +++ b/src/components/HealthCheck.js @@ -0,0 +1,11 @@ +import React from 'react'; + +const HealthCheck = () => { + return ( +
+
{JSON.stringify({foo: "bar"})}
+
+ ); +}; + +export default HealthCheck; diff --git a/src/components/RehydrationProvider.js b/src/components/RehydrationProvider.js index b549b534..e862349e 100644 --- a/src/components/RehydrationProvider.js +++ b/src/components/RehydrationProvider.js @@ -17,7 +17,8 @@ import { ROUTE_STATUS, ROUTE_GETINVOLED, ROUTE_CHARTER, - ROUTE_FILE + ROUTE_FILE, + ROUTE_HEALTH } from '../utils/routingConstants' import history from '../config/history' import { configureStore } from '../configureStore' @@ -37,6 +38,7 @@ import PageFile from './Navigation/Pages/PageFile' import PageHarvest from './Navigation/Pages/PageHarvest' import GetInvolved from './GetInvolved' import Charter from './Charter' +import HealthCheck from './HealthCheck' const store = configureStore() @@ -98,6 +100,7 @@ export default class RehydrationDelayedProvider extends Component { (window.location = 'https://discord.gg/wEzHJku')} /> + diff --git a/src/utils/routingConstants.js b/src/utils/routingConstants.js index 61aad099..b8bdf3fb 100644 --- a/src/utils/routingConstants.js +++ b/src/utils/routingConstants.js @@ -13,5 +13,5 @@ export const ROUTE_STATUS = '/status' export const ROUTE_GETINVOLED = '/get-involved' export const ROUTE_CHARTER = '/charter' export const ROUTE_FILE = '/file' -// export const ROUTE_HEALTH = '/health' +export const ROUTE_HEATH = '/root' export const ROUTE_ROOT = '/'