Skip to content

Commit aebde5e

Browse files
committed
fix unrelated repos bug
1 parent 8a268e9 commit aebde5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web_src/js/features/comp/SearchRepoBox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const {appSubUrl} = window.config;
66
export function initCompSearchRepoBox(el: HTMLElement) {
77
const uid = el.getAttribute('data-uid');
88
const collaborate = el.getAttribute('data-collaborate');
9-
let url = `${appSubUrl}/api/v1/repos/search?q={query}&uid=${uid}&exclusive=true`;
9+
let url = `${appSubUrl}/repo/search?q={query}&uid=${uid}&exclusive=true`;
1010
if (collaborate !== null) {
1111
url += `&collaborate=${collaborate}`;
1212
}

0 commit comments

Comments
 (0)