mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-08-06 02:27:38 +00:00
Change calculation of isDev
This commit is contained in:
@@ -3,7 +3,7 @@ import createApp from './server/app.js';
|
||||
import config from './server/config.js';
|
||||
import { createServer as createViteServer } from 'vite';
|
||||
|
||||
const isDev = process.env.NODE_ENV === 'local';
|
||||
const isDev = config.get('local_environments').includes(process.env.NODE_ENV);
|
||||
|
||||
async function start() {
|
||||
let vite;
|
||||
|
||||
Reference in New Issue
Block a user