update
This commit is contained in:
parent
fa352ba512
commit
e2566cce31
4 changed files with 6 additions and 5 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -37,7 +37,8 @@ export default defineConfig({
|
|||
// Experimental
|
||||
experimental: {
|
||||
directRenderScript: true,
|
||||
clientPrerender: true
|
||||
clientPrerender: true,
|
||||
serverIslands: true
|
||||
},
|
||||
prefetch: {
|
||||
prefetchAll: true,
|
||||
|
|
|
@ -56,7 +56,7 @@ else if (Astro.url.href.includes('?platform=twitch')) {
|
|||
<div class="video-grid">
|
||||
{PlatformYouTube ?
|
||||
YouTubeData.map((video) =>
|
||||
<Video
|
||||
<Video server:defer
|
||||
ID={video.videoId}
|
||||
Title={video.title}
|
||||
Creator={video.author}
|
||||
|
@ -70,7 +70,7 @@ else if (Astro.url.href.includes('?platform=twitch')) {
|
|||
}
|
||||
{PlatformTwitch ?
|
||||
TwitchData.data.streams.map((channel) =>
|
||||
<Stream
|
||||
<Stream server:defer
|
||||
Title={channel.title}
|
||||
Creator={channel.username}
|
||||
Avatar={channel.streamer.pfp}
|
||||
|
|
Reference in a new issue