From 0610edbe0a486d90d0807de70bef7e6aae2daf37 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Mon, 14 Dec 2020 20:48:51 +0100 Subject: [PATCH] Increase number of posters fetched --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 25a70ab..1f779f4 100644 --- a/index.html +++ b/index.html @@ -257,7 +257,7 @@ var app = new Vue({ }, methods: { search() { - fetch(`https://apis.justwatch.com/content/titles/fr_FR/popular?language=fr&body={"page_size":5,"page":1,"query":"${this.title}","content_types":["show","movie"]}`) + fetch(`${JUSTWATCH_API_DOMAIN}/content/titles/fr_FR/popular?language=fr&body={"page_size":20,"page":1,"query":"${this.title}","content_types":["show","movie"]}`) .then(response => response.json()) .then(response => { this.error = null;