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