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

Back link (..) is skipping first folder #717

Open
tobiaswild opened this issue Jul 14, 2022 · 1 comment · May be fixed by vercel/serve-handler#222
Open

Back link (..) is skipping first folder #717

tobiaswild opened this issue Jul 14, 2022 · 1 comment · May be fixed by vercel/serve-handler#222

Comments

@tobiaswild
Copy link

Description

I am not sure if this is a real/meant use case for serve, but I was playing a bit with it and thought about going to the root of my system and just serving it.
So no website, just the raw filesystem.

It's an Ubuntu 22.04 LTS system.

And everything gets display normally, but when I go two folders deep into my system, the back link (..) is always missing the first folder.

For example:
I got to /home/tobias, but when I then click on the back link (..) I get send to /, which is not a big deal because can just go right back to /home.
But when I am in the folder /home/tobias/test I get send to /tobias and this folder does simply not exist.

Library version

14.0.1

Node version

v16.16.0

@gamemaker1
Copy link
Contributor

Hi @tobiaswild,

Yes I can reproduce this issue too (Arch Linux) - seems like an issue with the serve-handler module. Let me take a deeper look into what might be causing the problem and get back to you!

@tobiaswild tobiaswild linked a pull request Mar 25, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants