This commit is contained in:
parent
679b5e73bb
commit
7408136a6d
@ -1,5 +1,6 @@
|
|||||||
import AppProvider from "@/components/AppProvider";
|
import AppProvider from "@/components/AppProvider";
|
||||||
import { ssrSettings } from "@/ssrSettings";
|
import { ssrSettings } from "@/ssrSettings";
|
||||||
|
import clsx from "clsx";
|
||||||
import { Metadata } from "next";
|
import { Metadata } from "next";
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
@ -48,7 +49,7 @@ export default function RootLayout({
|
|||||||
src="https://analytics.fascinated.cc/js/script.js"
|
src="https://analytics.fascinated.cc/js/script.js"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<body className={font.className}>
|
<body className={clsx(font.className, "text-white")}>
|
||||||
<div className="fixed left-0 top-0 z-0 h-full w-full blur-sm">
|
<div className="fixed left-0 top-0 z-0 h-full w-full blur-sm">
|
||||||
<Image
|
<Image
|
||||||
className="object-fill object-center"
|
className="object-fill object-center"
|
||||||
|
@ -24,7 +24,6 @@ export class FetchQueue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const response = await fetch(url, options);
|
const response = await fetch(url, options);
|
||||||
|
|
||||||
if (response.status === 429) {
|
if (response.status === 429) {
|
||||||
const hasRetryAfterHeader = response.headers.has("retry-after");
|
const hasRetryAfterHeader = response.headers.has("retry-after");
|
||||||
let retryAfter = hasRetryAfterHeader
|
let retryAfter = hasRetryAfterHeader
|
||||||
|
Loading…
Reference in New Issue
Block a user