1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Rebuild search index

This commit is contained in:
sauls8t 2018-03-29 12:23:09 +01:00
parent 30315a36c7
commit df0a13b6ed
18 changed files with 960 additions and 669 deletions

View file

@ -44,11 +44,12 @@ export default Component.extend(ModalMixin, {
});
let version = this.get('appMeta.version');
let edition = this.get('appMeta.edition').toLowerCase();
let self = this;
let cacheBuster = + new Date();
$.ajax({
url: `https://storage.googleapis.com/documize/news/${version}.html?cb=${cacheBuster}`,
url: `https://storage.googleapis.com/documize/news/${edition}/${version}.html?cb=${cacheBuster}`,
type: 'GET',
dataType: 'html',
success: function (response) {