Changing Content-Security-Policy Content

Hi guys, I’m a newbie to Keycloak and all this time I’ve been using it solely from the admin console UI.
method of starting the UI is simply just go to cmd and then key in command kc.bat start-dev
Recently, there’s an issue where it refuses to frame content for my host because it violates the frame-ancestors ‘self’ thing.

I did a quick research and I changed the value in Realm Setting >> Security-Defenses tab >> Content-Security-Policy.

Now, here’s the dumb thing that happened, instead of appending the hostname to ‘self’ I replaced the content to be frame-ancestors {hostname} . Little did I know that admin console UI is also using the same security defense. Now, I am not able to see and login into my keycloak.

Any help is really appreciated. Thanks