question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Double slash error

See original GitHub issue

Version: ^0.14.2

Code:

const client = new MeiliSearch({
  host: 'http://127.0.0.1:7700',
  apiKey: 'yourkey'
})
client.listIndexes().then(res => {
  console.log({ res })
})

Issue: It will request on this URL http://127.0.0.1:7700//indexes It appends double slash on the host

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bidoubiwacommented, Apr 14, 2021

Fixed by #731

0reactions
bidoubiwacommented, Jan 5, 2021

Alright, so when authentification fails (meaning bad master key), cors fails. So if you get a CORS error, it means that you have a problem with your authentification.

There is an open issue in the meilisearch/meilisearch directory: https://github.com/meilisearch/MeiliSearch/issues/1021

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Double slash in URL" error in Site Audit | Help Center - Ahrefs
Most servers are already set up to ignore multiple slashes in the URL path. However, these URLs may be confusing for search engines....
Read more >
What does a double slash in the URL path mean?
Here it means this background image is fetching from a different domain other than the domain of the present web page. Or in...
Read more >
Getting 404 Error when URL contains double slash after ...
The issue was that the path matching strategy has changed. The actuator path pattern CANNOT be overwritten by
Read more >
Errors contain a double slash in the path when using DBMS ...
When using DBMS=XLSX to import or export Microsoft Excel files in UNIX or Linux environments, an error that contains two slashes in the ......
Read more >
Google Suggests Not To Use Double Slashes In URL Path
Google's John Mueller said it isn't recommended to use // - double slashes - in your URL path. He said generally if browsers...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found