mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 10:22:39 +01:00
9 lines
285 B
JavaScript
9 lines
285 B
JavaScript
// 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)
|
|
} |