fix: new color variables

This commit is contained in:
DIYgod 2023-05-11 20:24:44 +01:00
parent 35bc7b3e08
commit 77b3c45e14
No known key found for this signature in database
2 changed files with 1 additions and 8 deletions

View File

@ -64,7 +64,7 @@ export const Image: React.FC<TImageProps> = ({
import("medium-zoom").then(({ default: mediumZoom }) => {
mediumZoom($image, {
margin: 10,
background: "rgb(var(--tw-colors-i-white))",
background: "rgb(var(--tw-color-white))",
scrollOffset: 0,
})
})

View File

@ -24,13 +24,6 @@ export default async function middleware(req: NextRequest) {
} catch (error) {
console.error(error)
}
console.log(
"cfHttps",
cfHttps,
req.url,
req.headers.get("host"),
req.headers.get("cf-visitor"),
)
if (!cfHttps) {
// return NextResponse.redirect(
// `https://${req.headers.get("host")}${req.nextUrl.pathname}${