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 70cc2dbc..e862349e 100644 --- a/src/components/RehydrationProvider.js +++ b/src/components/RehydrationProvider.js @@ -18,6 +18,7 @@ import { ROUTE_GETINVOLED, ROUTE_CHARTER, ROUTE_FILE, + ROUTE_HEALTH } from '../utils/routingConstants' import history from '../config/history' import { configureStore } from '../configureStore' @@ -99,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 49835bee..92fa3cc4 100644 --- a/src/utils/routingConstants.js +++ b/src/utils/routingConstants.js @@ -13,4 +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_ROOT = '/'