From 8919b17cb1dc124b029f5c8881f80a9e046ab70a Mon Sep 17 00:00:00 2001 From: Damillora Date: Sat, 28 Sep 2019 02:52:22 +0700 Subject: [PATCH] Add port options --- nuxt.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nuxt.config.js b/nuxt.config.js index 260e97f..83d0643 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,5 +1,8 @@ module.exports = { mode: 'universal', + server: { + port: process.env.PORT || 3000 + }, /* ** Headers of the page */