iFrame Header when embedding (#2189)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
@@ -378,6 +378,8 @@ func handleSPA(w http.ResponseWriter, r *http.Request) {
|
||||
cookie := NewSessionCookieForConsole(*sessionID)
|
||||
http.SetCookie(w, &cookie)
|
||||
}
|
||||
// Allow us to be iframed
|
||||
w.Header().Del("X-Frame-Options")
|
||||
}
|
||||
|
||||
indexPageBytes, err := io.ReadAll(indexPage)
|
||||
|
||||
Reference in New Issue
Block a user