about summary refs log tree commit diff
path: root/nuxt.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'nuxt.config.js')
-rw-r--r--nuxt.config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuxt.config.js b/nuxt.config.js
index 036135b..44a1de3 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -40,6 +40,9 @@ export default {
       }
     ]
   },
+  env: {
+    baseUrl: process.env.DEPLOY_URL || 'http://localhost:3000'
+  },
   generate: {
     routes: k.getPosts().map(post => post.route)
   },