Skip to content

Commit eda0b30

Browse files
authored
Update web_src/js/components/ViewFileTreeStore.ts
Signed-off-by: silverwind <[email protected]>
1 parent 309307a commit eda0b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/components/ViewFileTreeStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function createViewFileTreeStore(props: {repoLink: string, treePath: stri
2626

2727
async loadViewContent(url: string) {
2828
const u = new URL(url, window.origin);
29-
u.searchParams.set('only_content', '1');
29+
u.searchParams.set('only_content', 'true');
3030
const response = await GET(u.href);
3131
const elViewContent = document.querySelector('.repo-view-content');
3232
elViewContent.innerHTML = await response.text();

0 commit comments

Comments
 (0)