X-Frame-Options is not allowed to use

set

<meta http-equiv="X-Frame-Options" content="deny" />

error

X-Frame-Options may only be set via an HTTP header sent along with a document. It may not be set inside <meta>.

what is the reason

Apr.09,2021

this error is very clear. This header can only be set through HTTP header, not in the meta tag

.
Menu