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: wrong analytics url hosting on subpath #21

Merged
merged 1 commit into from
May 6, 2024

Conversation

JannikWempe
Copy link

Sending to a relative URL only works if the blog is hosted on the root path. Adding the BASE_PATH to the URL makes the analytics request URL absolute which also works if the blog is hosted on a subpath (like /blog in your case).

I assume that your NEXT_PUBLIC_BASE_URL environment variable is set to https://mindsdb.com/blog in your case.

@martyna-mindsdb martyna-mindsdb merged commit 9b14f54 into mindsdb:main May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants