aux-search/src/index.js

15 lines
501 B
JavaScript
Raw Normal View History

2020-03-28 04:09:01 +00:00
'use strict';
require("./index.scss");
2020-03-28 04:09:01 +00:00
const {Elm} = require('./Main');
Elm.Main.init({
flags: {
2020-06-19 06:53:49 +00:00
elasticsearchMappingSchemaVersion: parseInt(process.env.ELASTICSEARCH_MAPPING_SCHEMA_VERSION) || 0,
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'
}
});