Double slash error
See original GitHub issueVersion: ^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:
- Created 3 years ago
- Comments:12 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Fixed by #731
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