Skip to content

Commit

Permalink
HMMM
Browse files Browse the repository at this point in the history
  • Loading branch information
MotorTruck1221 committed Nov 7, 2024
1 parent fcf0bbb commit 366eca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/[lang]/catalog/[...page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const { page } = Astro.params;
let response: any = {};
try {
const url = new URL("/api/catalog-assets", Astro.url);
response = await fetch(url);
console.log("URL: " + url);
response = await fetch(url);
}
catch (err: any) { console.log('Error occured' + err) }
catch (err: any) { console.log('Error occured: ' + err) }
//console.log(new URL("/api/catalog-assets/", Astro.url));
const assetsJson = await response.json();
Expand Down

0 comments on commit 366eca0

Please sign in to comment.