Skip to content

Commit cd34f7f

Browse files
committed
chore: remove debug text now that i fixed it
1 parent cb194d7 commit cd34f7f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/views/lib/getSiteSupport.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export type SiteSupportType = (typeof SiteSupport)[keyof typeof SiteSupport];
3131
* @returns a list of page types that the current page is
3232
*/
3333
export default function getSiteSupport(url: string): SiteSupportType | null {
34-
console.debug("[UTRP] getSiteSupport entry", url);
34+
console.debug("[UTRP] Injecting on", url);
3535
if (isExtensionPopup()) {
3636
return SiteSupport.EXTENSION_POPUP;
3737
}
@@ -61,17 +61,11 @@ export default function getSiteSupport(url: string): SiteSupportType | null {
6161
}
6262
try {
6363
const parsed = new URL(url);
64-
console.debug("[UTRP] getSiteSupport parsed", {
65-
url,
66-
pathname: parsed.pathname,
67-
});
6864
if (
6965
parsed.hostname === "my.utexas.edu" &&
7066
(parsed.pathname === "/student" ||
7167
parsed.pathname.startsWith("/student/"))
7268
) {
73-
// Debug log for MY_UT detection
74-
console.debug("[UTRP] Detected MY_UT site:", url);
7569
return SiteSupport.MY_UT;
7670
}
7771
} catch {

0 commit comments

Comments
 (0)