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