Open codedge opened 4 years ago
Thanks for reporting this.
I'll need to understand your setup a bit more to understand how to recreate this. Could you show me your build > publish
config from your netlify config file and an ls -1
from that same publish directory? I just need to make sure I'm recreating this setup correctly.
I'm assuming I'm missing a trailing slash somewhere
My netlify.toml
looks like this:
[context.production.environment]
HUGO_VERSION = "0.69.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "false"
NODE_VERSION = "13"
[build]
publish = "public"
command = "hugo --gc --minify"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
[[plugins]]
package = "netlify-plugin-debug-cache"
[[plugins]]
package = "netlify-plugin-checklinks"
[[plugins]]
package = "netlify-plugin-hashfiles"
#[[plugins]]
#package = "netlify-plugin-subfont"
[[plugins]]
package = "netlify-plugin-no-more-404"
[plugins.inputs]
cacheKey = "codedge-blog"
So the publish directory is public
.
The ls -1
from public
from my local machine looks like this:
22:44:40 ➜ ls -1 (master|✚2…)
404.html
about
android-chrome-192x192.png
android-chrome-512x512.png
apple-touch-icon.png
categories
css
favicon-16x16.png
favicon-32x32.png
favicon.ico
index.html
index.xml
js
legal-notice
lib
logo.png
mstile-150x150.png
page
posts
robots.txt
safari-pinned-tab.svg
sitemap.xml
svg
tags
uses
Thank you. It's about time I figure out a proper test setup to recreate scenarios like these. This will help me
Hi,
there is a directory separator
/
missing betweenpublic/<next-directory>
:Error output