formatter

This commit is contained in:
PrivateGER 2023-05-29 20:09:52 +02:00
parent 0524789185
commit 33ef39cd4a
1 changed files with 32 additions and 32 deletions

View File

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