X-frame options set to "Deny"

son-of-eddy
HOBBY

8 months ago

Is there some way to disable X-frame options? I am trying to run an iframe which shows a unity webGL game I've made. It works on the local server using Django, but when I deploy it to Railway it gives the response:

"Refused to display 'https://web-production-ea09.up.railway.app/' in a frame because it set 'X-Frame-Options' to 'deny'.

I'm just an amateur, so only advice would be greatly appreciated!

1 Replies

8 months ago

Hello, we do not set that header, that header would be set by your code.