formatter

This commit is contained in:
PrivateGER 2023-05-29 20:09:52 +02:00
parent 7ef78fcd12
commit 91970a2fc6

View file

@ -18,7 +18,7 @@ const hasConfig =
config.meilisearch.port ||
config.meilisearch.apiKey);
if(hasConfig) {
if (hasConfig) {
const host = hasConfig ? config.meilisearch.host ?? "localhost" : "";
const port = hasConfig ? config.meilisearch.port ?? 7700 : 0;
const auth = hasConfig ? config.meilisearch.apiKey ?? "" : "";