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: 修复Meilisearch相关配置无法通过环境变量配置 #6316

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

mnixry
Copy link
Contributor

@mnixry mnixry commented Apr 5, 2024

related: #6060

按照作者的意图,配置的对应环境变量应当是

MEILISEARCH_HOST
MEILISEARCH_API_KEY
MEILISEARCH_INDEX_PREFIX

但是原先写法中错误将envPrefix写成了env,所以上述形式的meilisearch环境变量配置无法被解析

ref: https://github.com/caarlos0/env/blob/4f6bb22b03e366362642bc1b1b2bb8ba5b5786ef/env.go#L149-L159

Copy link

welcome bot commented Apr 5, 2024

Thanks for opening this pull request! Please check out our contributing guidelines.

@xhofe xhofe merged commit cd5a8a0 into AlistGo:main Apr 8, 2024
3 checks passed
Copy link

welcome bot commented Apr 8, 2024

Congrats on merging your first pull request! We here at behavior bot are proud of you!

EtherealAO pushed a commit to EtherealAO/alist that referenced this pull request Apr 12, 2024
EtherealAO pushed a commit to EtherealAO/alist that referenced this pull request Apr 12, 2024
dreamoeu added a commit to dreamoeu/alist-northflank-postgres that referenced this pull request May 3, 2024
dreamoeu added a commit to dreamoeu/alist-northflank-postgres that referenced this pull request May 3, 2024
* Update module github.com/alist-org/alist/v3 to v3.34.0

* fix: typo about env of Meilisearch (AlistGo/alist#6316)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dreamoeu <109009825+dreamoeu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants