Skip to content

Commit 4411f35

Browse files
chore: fix rooms search not working correctly
1 parent ca63bd1 commit 4411f35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/consts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const EXTENDED_SEARCH_BASE_URL = `${KIT_BASE_URL}/sp/campus/all/extendedS
55
export const TERMS_URL = `${KIT_BASE_URL}/sp/server/services/kit/terms.asp`;
66
export const ROOMS_QUICK_SEARCH_URL = `${KIT_BASE_URL}/sp/server/services/kit/quicksearch.asp?type=room&find=`;
77

8-
export const ROOMS_SEARCH_URL = `${KIT_BASE_URL}/search.php#!campus/all/search.asp?searchtype=room&searchterm=`;
8+
export const ROOMS_SEARCH_URL = `https://campus.studium.kit.edu/search.php#!campus/all/search.asp?searchtype=room&searchterm=`;
99

1010
export const KIT_UID_REGEX = /0x[0-9a-fA-F]{32}/;
1111
export const KIT_CMS_BASE_EVENT_URL = `${KIT_BASE_URL}/sp/campus/all/event.asp?gguid=`;

src/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class KITRoom {
104104
search_term = this.name.substring(KITRoom.BUILDING_PREFIX.length);
105105
}
106106

107-
return `${ROOMS_SEARCH_URL}${search_term}}`;
107+
return `${ROOMS_SEARCH_URL}${search_term}`;
108108
}
109109

110110
constructor(id: string, name: string) {

0 commit comments

Comments
 (0)