about summary refs log tree commit diff
path: root/nuxt.config.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-19 14:20:13 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-19 14:20:13 +0200
commitc52f0ac6ce79a8e1f4342219ad3651b9966b78b2 (patch)
tree0320bb0af093d4e4714892f32a4a98c793be4203 /nuxt.config.js
parent6ba5b9968348d0370722972e2763167a8785d8c6 (diff)
downloadpuszcza-c52f0ac6ce79a8e1f4342219ad3651b9966b78b2.tar.gz
puszcza-c52f0ac6ce79a8e1f4342219ad3651b9966b78b2.zip
Add baseUrl
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)
   },