cloud flare pages added x-frame-options

I use cloudflare pages to deploy a svelte-kit app but cloudflare some time add header x-frame-options that i don't want to use because i want use my website on iframe how do i avoid this header
1 Reply
GregBrimble
GregBrimble2y ago
You can create an _headers file with the following:
/*
! X-Frame-Options
/*
! X-Frame-Options
Want results from more Discord servers?
Add your server