Skip to content

Commit

Permalink
Fixed bug that sometimes makes the channel page not load videos prope…
Browse files Browse the repository at this point in the history
…rly.

Added Privacy category
  • Loading branch information
QortalSeth committed Jan 28, 2025
1 parent 5d79576 commit cf853d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/constants/Categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const categories = [
{ id: 26, name: "Qortal" },
{ id: 27, name: "Paranormal" },
{ id: 28, name: "Spirituality" },
{ id: 29, name: "Privacy" },
{ id: 99, name: "Other" },
].sort(sortCategory);

Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home/Components/VideoListComponentLevel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const VideoListComponentLevel = ({ mode }: VideoListProps) => {
isLoading.value = true;
try {
const offset = videos.length;
const url = `/arbitrary/resources/search?mode=ALL&service=DOCUMENT&query=${QTUBE_VIDEO_BASE}_&limit=20&includemetadata=false&reverse=true&excludeblocked=true&name=${paramName}&exactmatchnames=true&offset=${offset}`;
const url = `/arbitrary/resources/search?mode=ALL&service=DOCUMENT&query=${QTUBE_VIDEO_BASE}&limit=20&includemetadata=false&reverse=true&excludeblocked=true&name=${paramName}&exactmatchnames=true&offset=${offset}`;
const response = await fetch(url, {
method: "GET",
headers: {
Expand Down

0 comments on commit cf853d4

Please sign in to comment.