The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
set X-Frame-Options to DENY
Steven Tey9d6008c7e526
diff --git a/app/ui/tooltip.tsx b/app/ui/tooltip.tsxindex f323a8b5d3..fcb3362210 100644--- a/app/ui/tooltip.tsx+++ b/app/ui/tooltip.tsx@@ -167,26 +167,6 @@ export function TooltipContent({);}-export function OGImageProxy() {- return (- <div className="flex max-w-md flex-col items-center space-y-5 p-4 text-center">- <BlurImage- alt="Demo GIF for OG Image Proxy"- src="https://res.cloudinary.com/dubdotsh/image/upload/v1664425639/og-image-proxy-demo.gif"- width={1200}- height={1084}- className="w-full overflow-hidden rounded-md shadow-md"- />- <p className="text-sm text-gray-700">- Password protection, link expiration, device targeting, custom social- media cards, etc. Add a custom OG image in front of your target URL.- Bots like Twitter/Facebook will be served this image, while users will- be redirected to your target URL.- </p>- </div>- );-}-export function SSOWaitlist() {const [opening, setOpening] = useState(false);return (diff --git a/next.config.js b/next.config.jsindex 899f693050..4fd7f74e7e 100644--- a/next.config.js+++ b/next.config.js@@ -21,24 +21,6 @@ const nextConfig = {},async headers() {return [- {- source: "/login",- headers: [- {- key: "X-Frame-Options",- value: "DENY",- },- ],- },- {- source: "/register",- headers: [- {- key: "X-Frame-Options",- value: "DENY",- },- ],- },{source: "/:path*",headers: [@@ -50,6 +32,10 @@ const nextConfig = {key: "X-DNS-Prefetch-Control",value: "on",},+ {+ key: "X-Frame-Options",+ value: "DENY",+ },],},];