PR fix
This commit is contained in:
@@ -7,17 +7,14 @@ import type { CSSProperties } from "react"
|
||||
|
||||
import type { ImageProps } from "@/types/components/image"
|
||||
|
||||
const isBlockedByFirewall = (src: string) => {
|
||||
if (
|
||||
function isBlockedByFirewall(src: string): boolean {
|
||||
return (
|
||||
src.includes("test.scandichotels.com") ||
|
||||
src.includes("test2.scandichotels.com") ||
|
||||
src.includes("test3.scandichotels.com") ||
|
||||
src.includes("stage.scandichotels.com") ||
|
||||
src.includes("prod.scandichotels.com")
|
||||
) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
)
|
||||
}
|
||||
|
||||
function imageLoader({ quality, src, width }: ImageLoaderProps) {
|
||||
|
||||
Reference in New Issue
Block a user