Skip to content
This repository has been archived by the owner on May 24, 2020. It is now read-only.

Problem deploying to path prefix #23

Open
millette opened this issue Aug 7, 2018 · 2 comments
Open

Problem deploying to path prefix #23

millette opened this issue Aug 7, 2018 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@millette
Copy link
Owner

millette commented Aug 7, 2018

Mostly works except

@millette millette added the bug Something isn't working label Aug 7, 2018
@millette
Copy link
Owner Author

millette commented Aug 7, 2018

It's worst than that... maybe because of a gatsby upgrade?

Details: https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-beta.83

The problem (on my end) appeared before beta 71 without me noticing.

See also

@millette
Copy link
Owner Author

Cool, now it works if I specify the language:

Otherwise we're redirected from:
https://millette.github.io/gatsby-starter-location-github/fr/about/

to:
https://millette.github.io/gatsby-starter-location-github/fr/gatsby-starter-location-github/about/

Notice gatsby-starter-location-github is inserted twice (once after the language).

See

const newUrl = withPrefix(`/${detected}${pathname}`)
maybe.

@millette millette added this to the SQIL 2018 milestone Aug 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant