canonical urls are wrong if lazy loading is used
Opened this issue · 0 comments
martinloretzzz commented
I use static rendering with lazy loading, it looks like, that the canonical links in the header are wrong, if the link ends with a "/" (like "/foo/") in the build it will look something like <link rel="canonical" href="https://example.com/foo" />
, where the trailing slash is missing. (Results in some seo problems.)
My workaround for now is to remove
navi/packages/react-navi/create-react-app.js
Line 104 in d76b41e
and then set the canonical with react helmet.