fix: new color variables
This commit is contained in:
parent
35bc7b3e08
commit
77b3c45e14
|
|
@ -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,
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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}${
|
||||
|
|
|
|||
Loading…
Reference in New Issue