fix: fixed misplaced "!"

This commit is contained in:
Wyatt Johnson
2018-12-12 12:59:54 -07:00
parent d6f6fbcd9c
commit d331bdee18
+1 -1
View File
@@ -66,7 +66,7 @@ if (!DISABLE_STATIC_SERVER) {
* Serve the directories under dist.
*/
const dist = path.resolve(path.join(__dirname, '../dist'));
if (process.env.NODE_ENV !== 'production') {
if (process.env.NODE_ENV === 'production') {
router.use(
'/static',
staticServer(dist, {