Skip to content

Commit

Permalink
Update image source for Image component example.
Browse files Browse the repository at this point in the history
  • Loading branch information
kitschpatrol committed Oct 22, 2024
1 parent af91a3f commit 4ba40f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/examples/tests/TestImage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
let source = 'placeholder';
async function getRandomKittenUrl() {
const { url } = await fetch('https://source.unsplash.com/800x800/?kitten', {
const { url } = await fetch('https://loremflickr.com/800/800/kitten', {
method: 'HEAD',
redirect: 'follow'
});
Expand Down
8 changes: 4 additions & 4 deletions src/lib/control/Image.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ Note that _Svelte Tweakpane UI_ embeds a functionally identical [fork](https://g
let source = 'placeholder';
async function getRandomKittenUrl() {
const { url } = await fetch(
'https://source.unsplash.com/800x800/?kitten',
{ method: 'HEAD', redirect: 'follow' }
);
const { url } = await fetch('https://loremflickr.com/800/800/kitten', {
method: 'HEAD',
redirect: 'follow'
});
return url;
}
</script>
Expand Down

0 comments on commit 4ba40f9

Please sign in to comment.