chore: fmt [no ci]
This commit is contained in:
@@ -173,18 +173,9 @@ import { ImageResponse } from "next/og";
|
||||
export const size = { width: 1200, height: 630 };
|
||||
|
||||
export default function OGImage() {
|
||||
return new ImageResponse(
|
||||
<div
|
||||
style={
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
}
|
||||
>
|
||||
Buzz Feature
|
||||
</div>,
|
||||
{ ...size },
|
||||
);
|
||||
return new ImageResponse(<div style={{/* ... */}}>Buzz Feature</div>, {
|
||||
...size,
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -7,7 +7,10 @@ type LiveResponse =
|
||||
| "none";
|
||||
|
||||
export async function GET(request: Request) {
|
||||
const liveUrl = new URL("https://buzz.sudloh.com/api/live", request.url).toString();
|
||||
const liveUrl = new URL(
|
||||
"https://buzz.sudloh.com/api/live",
|
||||
request.url,
|
||||
).toString();
|
||||
const response = await fetch(liveUrl, {
|
||||
cache: "no-store",
|
||||
});
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"bunVersion": "1.x"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user