hubs-docs icon indicating copy to clipboard operation
hubs-docs copied to clipboard

Properly handle docs pages without the .html extension

Open robertlong opened this issue 5 years ago • 2 comments

Currently we don't rewrite the url to the correct file or even show a 404 page when the .html extension is omitted. We should fix this.

robertlong avatar Mar 23 '20 17:03 robertlong

I set the server up locally and a url like http://localhost:3000/docs/intro-avatars actually works fine, even though it doesn't work without the .html extension on the actual website. This setting seems related, but I haven't been able to figure out why it works locally even when cleanUrl is set to false, which is supposed to disable links without the .html extension.

LWprogramming avatar Apr 13 '20 14:04 LWprogramming