Fix name branding (#251566)

* Fix name branding

Typo...

* one more fix

* move around
This commit is contained in:
Tyler James Leonhardt
2025-06-15 22:41:57 -07:00
committed by GitHub
parent 44c0f4f997
commit 5d83e82b2d

View File

@@ -24,9 +24,11 @@
</div>
<script>
const urlParams = new URLSearchParams(window.location.search);
const appName = urlParams.get('app_name');
document.querySelectorAll('.app-name').forEach(e => e.innerText = appName);
const error = urlParams.get('error');
const redirectUri = urlParams.get('redirect_uri');
if (error) {
document.querySelector('.error-text')
.textContent = error;
@@ -41,7 +43,7 @@
// Redirect after a delay
setTimeout(() => {
window.location = urlParams.get('redirect_uri');
window.location = redirectUri;
}, 1000);
}
</script>