Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Empty normalSuffix breaks rendering. #3

Open
bttmchnd opened this issue May 11, 2019 · 1 comment
Open

Empty normalSuffix breaks rendering. #3

bttmchnd opened this issue May 11, 2019 · 1 comment

Comments

@bttmchnd
Copy link

Hi.

I use Netlify with their Pretty URLs option. With the config below generic pages are broken: you can't access them directly (only through index page) or refresh it, instead of that you'll get a bunch of HTML.

    'clean-urls': {
      normalSuffix: '',
      indexSuffix: '/'
    }

Example: https://5cd6eabef6fef10008c3538f--innerequestria.netlify.com/how/gitea

Now I use the next config, which allows me to use clean links.

    'clean-urls': {
      normalSuffix: '.html',
      indexSuffix: '/'
    }

Example: https://5cd7059a66b8b3000c5d83e6--innerequestria.netlify.com/how/gitea

@yangwao
Copy link

yangwao commented Jun 16, 2019

Same here.
When I tried use normalSuffix: '' or normalSuffix: '/', headers from Netlify were same

⫸  curl -I https://hypersignal.xyz/experience
HTTP/2 200
accept-ranges: bytes
cache-control: public, max-age=0, must-revalidate
content-length: 13564
content-type: text/plain; charset=UTF-8
date: Sun, 16 Jun 2019 08:18:08 GMT

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants