Variable ADMIN_DEPLOY_CONNECT_JSConst
ADMIN_DEPLOY_CONNECT_JS: "document.getElementById('cfoauth').addEventListener('submit', async (e) => {\n\te.preventDefault();\n\tconst out = document.getElementById('cfoauth-out');\n\tconst id = new FormData(e.target).get('client_id');\n\tif (!id) {\n\t\tout.textContent = 'Enter the client ID from your OAuth client.';\n\t\treturn;\n\t}\n\tout.textContent = 'Starting...';\n\ttry {\n\t\tconst res = await fetch('/setup/cf?action=connect&client_id=' + encodeURIComponent(id), {\n\t\t\tcredentials: 'same-origin'\n\t\t});\n\t\tconst data = await res.json();\n\t\tif (!data.ok) throw new Error(data.error || 'refused');\n\t\twindow.location.href = data.authorizeUrl;\n\t} catch (err) {\n\t\tout.textContent = 'Could not start: ' + err.message;\n\t}\n});\n"