Skip to content

Commit

Permalink
Revert "Remove"
Browse files Browse the repository at this point in the history
This reverts commit c0ae50d.
  • Loading branch information
ljones140 committed Oct 30, 2024
1 parent c0ae50d commit 42e066c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/HealthCheck.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const HealthCheck = () => {
return (
<div>
<pre>{JSON.stringify({foo: "bar"})}</pre>
</div>
);
};

export default HealthCheck;
2 changes: 2 additions & 0 deletions src/components/RehydrationProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -99,6 +100,7 @@ export default class RehydrationDelayedProvider extends Component {
<Route path={ROUTE_STATUS} component={withTracker(PageStatus)} />
<Route path={ROUTE_DISCORD} component={() => (window.location = 'https://discord.gg/wEzHJku')} />
<Route path={ROUTE_FILE} component={withTracker(PageFile)} />
<Route path={ROUTE_HEALTH} component={withTracker(HealthCheck)} />
<Route path={ROUTE_ROOT} component={withTracker(PageBrowse)} />
</Switch>
</App>
Expand Down
1 change: 1 addition & 0 deletions src/utils/routingConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '/'

0 comments on commit 42e066c

Please sign in to comment.