apiVersion: v1
kind: ConfigMap
metadata:
  name: service-configs-unauthorized-error
  namespace: csi-uat
  annotations:
    reloader.stakater.com/match: "true"
data:
  index.html: |
    <!DOCTYPE html>
    <html>
        <head|></head>
        <body>
            <h1>UNAUTHORIZED ACCESS</h1>
            <h2>Devtools Detected</h2>
            <p>You are prohibited from accessing VIDA 4.0 with the DevTools open. Close them and click <a id="dynamicLink" href="javascript:void(0);">here</a>.</p>
            <script>
                // Get the anchor element by ID
                var dynamicLink = document.getElementById("dynamicLink");

                // Set the href attribute using window.location.origin
                dynamicLink.href = window.location.origin;
            </script>
        </body>
    </html>