I’ve got an issue where folders containing a full stop do not return their index.html by default when visited without the file name in my static Hugo-based site.
Also OK: /caffeine/32mg
This works for me locally when hosting directly from Hugo.
Is there a server setting or environment variable that I can set to make this work as expected?
Render will automatically check for an
index.html when the URL indicates that it is a directory. Otherwise, Render will assume you are trying to load a file at that location. Adding a / to the end of your path properly loads the content 31.5mg | Energy Drink Cans UK
Are you able to update your site to include the
That was the ticket.
I’ve updated the tag cloud to output a trailing slash.