I have added your code to the customizer, but since then I can not reach my site anymore.
I now get an HTTP error 503 (service unavailable).
On internet I can find that this might be caused by a plugin or a theme at my WordPress website. I have only made a change in my theme (added the code you suggested), nothing else. And now I get this error message.