aux-search/src/index.js
Rok Garbas 9413e66d90
Provide correct link to hydra job or if exists build (#81)
also add --force option to import-channel script which will always recreate index

fixes #72
2020-06-10 13:48:53 +02:00

15 lines
491 B
JavaScript

'use strict';
require("./index.scss");
const {Elm} = require('./Main');
Elm.Main.init({
flags: {
elasticsearchMappingSchemaVersion: process.env.ELASTICSEARCH_MAPPING_SCHEMA_VERSION || 5,
elasticsearchUrl: process.env.ELASTICSEARCH_URL || 'https://nixos-search-5886075189.us-east-1.bonsaisearch.net:443',
elasticsearchUsername : process.env.ELASTICSEARCH_USERNAME || 'z3ZFJ6y2mR',
elasticsearchPassword : process.env.ELASTICSEARCH_PASSWORD || 'ds8CEvALPf9pui7XG'
}
});