fix(netlify): add ending slash to baseURL

This commit is contained in:
Jimmy Cai 2020-09-06 13:23:57 +02:00
parent e176e29811
commit 06c724c141
No known key found for this signature in database
GPG key ID: 3EA408E527F37B18

View file

@ -6,13 +6,13 @@
HUGO_THEME = "repo"
[context.production]
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${URL}"
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${URL}/"
[context.production.environment]
HUGO_ENV = "production"
[context.branch-deploy]
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}/"
[context.deploy-preview]
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}"
command = "cd exampleSite && hugo --gc --themesDir ../.. -b ${DEPLOY_PRIME_URL}/"