From 371e56bce559fc981511bbf82afdace7492f3567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 7 Feb 2018 23:03:32 +0100 Subject: [PATCH] Try to fix the Netlify preview baseURL setup --- netlify.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index bb8dcd390..1f82ea136 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "public" - command = "hugo" + command = "hugo -b $DEPLOY_PRIME_URL" [context.production.environment] HUGO_VERSION = "0.36" @@ -14,5 +14,4 @@ HUGO_VERSION = "0.36" [context.next.environment] - HUGO_BASEURL = "https://next--gohugoio.netlify.com/" HUGO_ENABLEGITINFO = "true" \ No newline at end of file