mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 04:08:10 +08:00
Chore: update id and key for algolia (#11783)
This commit is contained in:
parent
4c40128b8a
commit
ca567cc752
@ -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',
|
||||
|
@ -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' }`);
|
||||
},
|
||||
|
||||
|
@ -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"}
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user