Chore: update id and key for algolia (#11783)

This commit is contained in:
杨奕 2018-06-28 16:09:55 +08:00 committed by GitHub
parent 4c40128b8a
commit ca567cc752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ const algoliasearch = require('algoliasearch');
const slugify = require('transliteration').slugify;
const key = require('./algolia-key');
const client = algoliasearch('9NLTR1QH8B', key);
const client = algoliasearch('4C63BTGP6S', key);
const langs = {
'zh-CN': 'element-zh',
'en-US': 'element-en',

View File

@ -163,7 +163,7 @@
methods: {
initIndex() {
const client = algoliasearch('9NLTR1QH8B', 'a75cbec97cda75ab7334fed9219ecc57');
const client = algoliasearch('4C63BTGP6S', '0729c3c7f4dc8db7395ad0b19c0748d2');
this.index = client.initIndex(`element-${ this.lang ? this.langs[this.lang].index : 'zh' }`);
},

View File

@ -1 +1 @@
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.1":"2.4"}
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.2":"2.4"}

View File

@ -172,7 +172,7 @@ if (typeof window !== 'undefined' && window.Vue) {
}
module.exports = {
version: '2.4.1',
version: '2.4.2',
locale: locale.use,
i18n: locale.i18n,
install,