-
Notifications
You must be signed in to change notification settings - Fork 247
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
Prefer MEILISEARCH_URL
over localhost:7700
#3083
base: main
Are you sure you want to change the base?
Conversation
How to see the preview of this PR?Go to this URL: https://website-git-deploy-preview-mei-16-meili.vercel.app/docs/branch:use-meilisearch-url-placeholder Credentials to access the page are in the company's password manager as "Docs deploy preview". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approval for code samples
@guimachiavelli there is git conflict in the file |
@@ -59,7 +59,7 @@ Next, enable the vector store experimental feature: | |||
|
|||
```sh | |||
curl \ | |||
-X PATCH 'http://localhost:7700/experimental-features/' \ | |||
-X PATCH 'https://MEILISEARCH_URL/experimental-features/' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @guimachiavelli when you use the notation _URL in the end of the env var I already expect it to contain the https
/http
(protocol) in it. Otherwise we would be using _HOST
or _DOMAIN
.
https://stackoverflow.com/questions/9260218/parts-of-a-url-host-port-path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch bruno! My bad on it, Bruno is right on this one from my point of view
Part of the continuous effort in rendering the docs less focussed on self-hosted instances.
@curquiza, this is the PR we spoke about changing all the target URL for all code samples. I'll only merge it after my return in the new year, so there's no rush as far as SDK code samples go. All changes relevant for the integrations team are in
.code-samples.meilisearch.yaml
—you can safely ignore the other 19 files touched by this PR.