From ca567cc7524aa0ab9223f4634d95d0043aecbb22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A5=95?= Date: Thu, 28 Jun 2018 16:09:55 +0800 Subject: [PATCH] Chore: update id and key for algolia (#11783) --- build/bin/gen-indices.js | 2 +- examples/components/search.vue | 2 +- examples/versions.json | 2 +- src/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/bin/gen-indices.js b/build/bin/gen-indices.js index 542a6460..3bffdc7b 100644 --- a/build/bin/gen-indices.js +++ b/build/bin/gen-indices.js @@ -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', diff --git a/examples/components/search.vue b/examples/components/search.vue index 3ce36534..0060b0cc 100644 --- a/examples/components/search.vue +++ b/examples/components/search.vue @@ -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' }`); }, diff --git a/examples/versions.json b/examples/versions.json index 99b29717..2a060cdb 100644 --- a/examples/versions.json +++ b/examples/versions.json @@ -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"} \ No newline at end of file +{"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"} \ No newline at end of file diff --git a/src/index.js b/src/index.js index 804be485..a8bf2f24 100644 --- a/src/index.js +++ b/src/index.js @@ -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,