Skip to content

baseURL appended twice to the URL when clicking on search result #166

@Lehoczky

Description

@Lehoczky

Version

"@nuxtjs/algolia": "^1.9.0",
"nuxt": "~3.6.5",

Reproduction Link

Since DocSearch is only granted for running documentation sites, I'm unfortunately unable to provide a minimal reproduction, but my site is open source. Let me know if you need any help.

Repo: https://github.com/Lehoczky/frontend-tools
Running site: https://lehoczky.github.io/frontend-tools/

Steps to reproduce

  • open the search modal
  • search for something, ex: "avoid"
  • click on the first result

What is Expected?

The user is being redirected to https://lehoczky.github.io/frontend-tools/frontend-tools/style-guide/#avoid-mental-mapping which shows the 404 page, because frontend-tools is in the URL twice

What is actually happening?

Navigate to https://lehoczky.github.io/frontend-tools/style-guide/#avoid-mental-mapping instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions