remove react-env

This commit is contained in:
Nawaz Dhandala
2021-05-14 13:59:15 +01:00
parent 8dc2c42f25
commit f103e98fde
3 changed files with 0 additions and 10 deletions

View File

@@ -20,12 +20,8 @@ process.on('uncaughtException', err => {
const express = require('express');
const path = require('path');
const app = express();
const child_process = require('child_process');
const compression = require('compression');
child_process.execSync('react-env', {
stdio: [0, 1, 2],
});
app.use(compression());

View File

@@ -20,11 +20,6 @@ process.on('uncaughtException', err => {
const express = require('express');
const path = require('path');
const app = express();
const child_process = require('child_process');
child_process.execSync('react-env', {
stdio: [0, 1, 2],
});
app.use('/', (req, res, next) => {
//eslint-disable-next-line

View File

@@ -20,7 +20,6 @@ process.on('uncaughtException', err => {
const express = require('express');
const path = require('path');
const app = express();
const child_process = require('child_process');
const cors = require('cors');
const fs = require('fs');