diff --git a/src/components/Health.js b/src/components/Health.js deleted file mode 100644 index 61a4202b..00000000 --- a/src/components/Health.js +++ /dev/null @@ -1,9 +0,0 @@ -import http from "http" - -http - .createServer((req, res) => - res - .writeHead(200, { "Content-Type": "application/json" }) - .end(JSON.stringify(process.env.NODE_ENV)), - ) - .listen() diff --git a/src/components/RehydrationProvider.js b/src/components/RehydrationProvider.js index 1671f1fd..b549b534 100644 --- a/src/components/RehydrationProvider.js +++ b/src/components/RehydrationProvider.js @@ -37,7 +37,6 @@ import PageFile from './Navigation/Pages/PageFile' import PageHarvest from './Navigation/Pages/PageHarvest' import GetInvolved from './GetInvolved' import Charter from './Charter' -import Health from './Health' const store = configureStore() @@ -100,7 +99,6 @@ export default class RehydrationDelayedProvider extends Component { (window.location = 'https://discord.gg/wEzHJku')} /> - diff --git a/src/index.js b/src/index.js index df2edd7e..9a06bf29 100644 --- a/src/index.js +++ b/src/index.js @@ -19,4 +19,4 @@ if (!Array.prototype.includes) 'You need a browser that supports modern JavaScript features to view this site. Please switch to another browser.' ) ReactDOM.render(< RehydrationProvider />, document.getElementById('root')) -unregister() \ No newline at end of file +unregister() diff --git a/src/utils/routingConstants.js b/src/utils/routingConstants.js index 92fa3cc4..61aad099 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_HEALTH = '/health' export const ROUTE_ROOT = '/'