Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Basepath crops a letter of basepath when not using trailing slash #296

Closed
dxlbnl opened this issue Jun 27, 2018 · 1 comment · Fixed by #298
Closed

Basepath crops a letter of basepath when not using trailing slash #296

dxlbnl opened this issue Jun 27, 2018 · 1 comment · Fixed by #298

Comments

@dxlbnl
Copy link

dxlbnl commented Jun 27, 2018

I've added the basepath to the server config, and when calling sapper export --basepath blog
It's raising some 404 errors:

> Received 404 response when fetching /blo/
> Received 404 response when fetching /blo/blog

It does work when adding a trailing slash to basepath sapper export --basepath blog/

Rich-Harris added a commit that referenced this issue Jun 27, 2018
fix req.baseUrl synthesis
@Rich-Harris
Copy link
Member

Thanks — fixed in 0.13.6

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

Successfully merging a pull request may close this issue.

2 participants