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

Fix URL reading issue in [..url]/page.tsx #99

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

DavidDragan1
Copy link
Contributor

Update page.tsx - replace "//" with "/" in decodedComponents.join() - url was not reading before and the bot wouldn't answer questions correctly.

Update page.tsx - replace "//" with "/" in decodedComponents.join() - url was not reading before and the bot wouldn't answer questions correctly.
@CahidArda
Copy link
Contributor

Hi there, I was able to make it work with both / and //. I am testing with https://raw.githubusercontent.com/upstash/docs/refs/heads/main/workflow/basics/caveats.mdx.

If you try again with //, can you flush the redis db so that the website doesn't think the url is already index and skip indexing?

If that doesn't solve the issue, can you share the URL you were trying with so that I can reproduce the issue?

@DavidDragan1
Copy link
Contributor Author

DavidDragan1 commented Jan 10, 2025 via email

@CahidArda
Copy link
Contributor

I see, I was able to reproduce the issue and using / does solve the issue. thanks for the letting us know!

@CahidArda CahidArda merged commit 2934d94 into upstash:master Jan 17, 2025
@DavidDragan1
Copy link
Contributor Author

DavidDragan1 commented Jan 17, 2025 via email

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 this pull request may close these issues.

None yet

2 participants