chore: ws
This commit is contained in:
parent
d6740c4757
commit
dfc24cdab0
|
@ -40,7 +40,6 @@ export const createHttpServer = async (latus) => {
|
|||
// Serve latus.
|
||||
app.get('/latus.config.js', requestMiddleware, configMiddleware(latus));
|
||||
app.use(express.static(join(process.cwd(), build)));
|
||||
|
||||
// eslint-disable-next-line no-eval
|
||||
if ('production' !== eval('process.env.NODE_ENV')) {
|
||||
const middlewares = Object.keys(await clientPlugins(latus))
|
||||
|
|
Loading…
Reference in New Issue
Block a user