From 9382d63498e87f270843e3ad657c5a79228161be Mon Sep 17 00:00:00 2001 From: Charlotte Vermandel Date: Tue, 29 Nov 2022 19:29:27 +0100 Subject: [PATCH] Update playground instances to new instance on the cloud --- playgrounds/angular/src/app/app.component.ts | 5 +++-- playgrounds/geo-javascript/src/app.js | 7 ++----- playgrounds/html/public/index.html | 4 ++-- playgrounds/javascript/src/app.js | 6 +++--- playgrounds/react/src/App.js | 5 ++--- playgrounds/vue/src/App.vue | 4 ++-- 6 files changed, 14 insertions(+), 17 deletions(-) diff --git a/playgrounds/angular/src/app/app.component.ts b/playgrounds/angular/src/app/app.component.ts index 211a8948..2ce0ae16 100644 --- a/playgrounds/angular/src/app/app.component.ts +++ b/playgrounds/angular/src/app/app.component.ts @@ -2,8 +2,9 @@ import { Component } from '@angular/core' import { instantMeiliSearch } from '../../../../src' const searchClient = instantMeiliSearch( - 'https://integration-demos.meilisearch.com', - '99d1e034ed32eb569f9edc27962cccf90b736e4c5a70f7f5e76b9fab54d6a185' + 'https://ms-adf78ae33284-106.lon.meilisearch.io', + 'a63da4928426f12639e19d62886f621130f3fa9ff3c7534c5d179f0f51c4f303', + { finitePagination: true } ) @Component({ diff --git a/playgrounds/geo-javascript/src/app.js b/playgrounds/geo-javascript/src/app.js index 4e7c4e85..28d2bd06 100644 --- a/playgrounds/geo-javascript/src/app.js +++ b/playgrounds/geo-javascript/src/app.js @@ -9,11 +9,8 @@ injectScript( const search = instantsearch({ indexName: 'world_cities', searchClient: instantMeiliSearch( - 'https://integration-demos.meilisearch.com', - '99d1e034ed32eb569f9edc27962cccf90b736e4c5a70f7f5e76b9fab54d6a185', - { - limitPerRequest: 20, - } + 'https://ms-adf78ae33284-106.lon.meilisearch.io', + 'a63da4928426f12639e19d62886f621130f3fa9ff3c7534c5d179f0f51c4f303' ), }) diff --git a/playgrounds/html/public/index.html b/playgrounds/html/public/index.html index 9bba205d..71499e5a 100644 --- a/playgrounds/html/public/index.html +++ b/playgrounds/html/public/index.html @@ -27,8 +27,8 @@ const search = instantsearch({ indexName: "steam-video-games", searchClient: instantMeiliSearch( - "https://integration-demos.meilisearch.com", - "99d1e034ed32eb569f9edc27962cccf90b736e4c5a70f7f5e76b9fab54d6a185" + "https://ms-adf78ae33284-106.lon.meilisearch.io", + "a63da4928426f12639e19d62886f621130f3fa9ff3c7534c5d179f0f51c4f303" ) }); search.addWidgets([ diff --git a/playgrounds/javascript/src/app.js b/playgrounds/javascript/src/app.js index e3f0b059..5a54c614 100644 --- a/playgrounds/javascript/src/app.js +++ b/playgrounds/javascript/src/app.js @@ -3,10 +3,10 @@ import { instantMeiliSearch } from '../../../src/index' const search = instantsearch({ indexName: 'steam-video-games', searchClient: instantMeiliSearch( - 'https://integration-demos.meilisearch.com', - '99d1e034ed32eb569f9edc27962cccf90b736e4c5a70f7f5e76b9fab54d6a185', + 'https://ms-adf78ae33284-106.lon.meilisearch.io', + 'a63da4928426f12639e19d62886f621130f3fa9ff3c7534c5d179f0f51c4f303', { - limitPerRequest: 30, + finitePagination: true, } ), }) diff --git a/playgrounds/react/src/App.js b/playgrounds/react/src/App.js index d8936b8a..b08edec6 100644 --- a/playgrounds/react/src/App.js +++ b/playgrounds/react/src/App.js @@ -17,10 +17,9 @@ import './App.css' import { instantMeiliSearch } from '../../../src/index' const searchClient = instantMeiliSearch( - 'https://integration-demos.meilisearch.com', - '99d1e034ed32eb569f9edc27962cccf90b736e4c5a70f7f5e76b9fab54d6a185', + 'https://ms-adf78ae33284-106.lon.meilisearch.io', + 'a63da4928426f12639e19d62886f621130f3fa9ff3c7534c5d179f0f51c4f303', { - paginationTotalHits: 60, primaryKey: 'id', } ) diff --git a/playgrounds/vue/src/App.vue b/playgrounds/vue/src/App.vue index 7331e9b1..f12a95f6 100644 --- a/playgrounds/vue/src/App.vue +++ b/playgrounds/vue/src/App.vue @@ -84,8 +84,8 @@ export default { return { recommendation: '', searchClient: instantMeiliSearch( - 'https://integration-demos.meilisearch.com', - '99d1e034ed32eb569f9edc27962cccf90b736e4c5a70f7f5e76b9fab54d6a185' + 'https://ms-adf78ae33284-106.lon.meilisearch.io', + 'a63da4928426f12639e19d62886f621130f3fa9ff3c7534c5d179f0f51c4f303' ), } },