From 2eb9ab9e4de6fc860f464f79f51fb91de524e6ef Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 9 Aug 2018 10:20:02 +0200 Subject: [PATCH] Add base url --- client/nuxt.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/nuxt.config.js b/client/nuxt.config.js index 46cb3b15..4174b3d5 100644 --- a/client/nuxt.config.js +++ b/client/nuxt.config.js @@ -12,6 +12,9 @@ module.exports = { css: [ '~/assets/main.scss' ], + env: { + baseUrl: process.env.BASE_URL || 'http://localhost:3000' + }, head: { link: [ {rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Montserrat:400,800'}