Actualiser js/public.js
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ function generateStreamingSelect() {
|
|||||||
|
|
||||||
async function loadPublicData() {
|
async function loadPublicData() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(`${API_URL}?action=get_films`);
|
const response = await fetch(`${API_URL}?action=get_films`, { cache: 'default' });
|
||||||
films = await response.json();
|
films = await response.json();
|
||||||
generateStreamingSelect();
|
generateStreamingSelect();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user