Configure analytics URL and obfuscate API key
Set the Horchposten backend URL in the shell data attribute and replace the plaintext key lookup with XOR-encoded byte arrays decoded at runtime, so the API key never appears as a readable string in source, HTML, or the compiled WASM binary.
This commit is contained in:
@@ -108,8 +108,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="canvas-container"
|
||||
data-analytics-url=""
|
||||
data-analytics-key="">
|
||||
data-analytics-url="https://horchposten.schick-web.site">
|
||||
<canvas class="emscripten" id="canvas" tabindex="1"
|
||||
width="640" height="360"></canvas>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user