From c52f0ac6ce79a8e1f4342219ad3651b9966b78b2 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 19 Oct 2019 14:20:13 +0200 Subject: Add baseUrl --- nuxt.config.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nuxt.config.js') 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) }, -- cgit 1.4.1