Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh pages trailing slash #16

Open
ezbeazy opened this issue Aug 29, 2024 · 2 comments
Open

gh pages trailing slash #16

ezbeazy opened this issue Aug 29, 2024 · 2 comments

Comments

@ezbeazy
Copy link

ezbeazy commented Aug 29, 2024

Is the gh-pages incorrect? Pages add a trailing slash to the root. Gh pages deploy to https://user.github.io/repo/ and https://user.github.io/repo redirects to https://user.github.io/repo/. Unless I'm not understanding the chart correctly.

@patbl
Copy link

patbl commented Dec 14, 2024

I think it's correct. It does redirect, but https://user.github.io/repo points to a folder, not a file. So /folder is the column to look at.

Screenshot 2024-12-14 at 09 37 14

@slorber
Copy link
Owner

slorber commented Dec 16, 2024

Yes, looks correct to me.

Note that in that case, it's not even really a "folder" but rather a "baseUrl" that gets applied as a pathname prefix to all the static deployment. It's possible that hosts have special rules for this. Most likely, they will always use a trailing slash in that case, even though they may not apply a trailing slash for folders.

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

No branches or pull requests

3 participants