You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The boilerplate code doesn't allow an empty pathPrefix in data/siteConfig.js but allows a / which will be regarded as "" (empty) somewhere and, there are also some code which will convert "" (empty) pathPrefix to a /.
These incompatibilities lead to URLs like https://org.github.io//test-url (note the double slash) in SEO and social share links.
The text was updated successfully, but these errors were encountered:
ValidationError: child "pathPrefix" fails because ["pathPrefix" is not allowed to be empty]
Could this validator be disabled? Apparently only changing the parser in SEO component is not a good idea. For example, somewhere else (in Disqus), it also uses urljoin to get the url which also leads to https://org.github.io//test-url.
The boilerplate code doesn't allow an empty
pathPrefix
indata/siteConfig.js
but allows a/
which will be regarded as "" (empty) somewhere and, there are also some code which will convert "" (empty)pathPrefix
to a/
.These incompatibilities lead to URLs like
https://org.github.io//test-url
(note the double slash) in SEO and social share links.The text was updated successfully, but these errors were encountered: