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:
parent
30315a36c7
commit
df0a13b6ed
18 changed files with 960 additions and 669 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue