mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 03:49:07 +00:00
Replaced config w/ dotenv. Hydrate docker nginx using env. Updated readme
This commit is contained in:
@@ -86,8 +86,8 @@
|
||||
query.value = decodeURIComponent(params.get("query"));
|
||||
}
|
||||
|
||||
const elasticUrl = config.ELASTIC_URL;
|
||||
if (elasticUrl === undefined || elasticUrl === "") {
|
||||
const { ELASTIC } = process.env;
|
||||
if (ELASTIC === undefined || ELASTIC === "") {
|
||||
disabled.value = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user