Newer
Older
percord / assets / preload-plugins / oauth2.js
@Madeline Madeline on 24 Dec 2022 285 bytes OAuth2 authorize bot flow
// Fixes /oauth2 endpoints not requesting a CSS file

if (location.pathname.startsWith("/oauth2/")) {
	const link = document.createElement("link");
	link.rel = "stylesheet"
	link.type = "text/css"
	link.href = "/assets/40532.f7b1e10347ef10e790ac.css"
	document.head.appendChild(link)
}