Resimler için cache oluşturuldu
This commit is contained in:
@@ -335,13 +335,13 @@ async function loadMovies() {
|
||||
function posterUrl(movie) {
|
||||
if (!movie.poster) return null;
|
||||
const token = localStorage.getItem("token");
|
||||
return `${API}${movie.poster}?token=${token}&t=${Date.now()}`;
|
||||
return `${API}${movie.poster}?token=${token}`;
|
||||
}
|
||||
|
||||
function backdropUrl(movie) {
|
||||
if (!movie.backdrop) return null;
|
||||
const token = localStorage.getItem("token");
|
||||
return `${API}${movie.backdrop}?token=${token}&t=${Date.now()}`;
|
||||
return `${API}${movie.backdrop}?token=${token}`;
|
||||
}
|
||||
|
||||
async function refreshMovies() {
|
||||
|
||||
@@ -77,7 +77,7 @@ let filteredShows = [];
|
||||
function assetUrl(pathname) {
|
||||
if (!pathname) return null;
|
||||
const token = localStorage.getItem("token");
|
||||
return `${API}${pathname}?token=${token}&t=${Date.now()}`;
|
||||
return `${API}${pathname}?token=${token}`;
|
||||
}
|
||||
|
||||
function posterUrl(show) {
|
||||
|
||||
Reference in New Issue
Block a user