Skipping recent file tracking for ignored directories, and video and archive pages.

This commit is contained in:
Roland 2026-02-28 08:39:10 -07:00
parent bfaf1514da
commit bdc29dace1
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
6 changed files with 97 additions and 13 deletions

View file

@ -1289,8 +1289,8 @@ export async function getFiles(directories) {
return files;
}
export async function getFile(path) {
let body = {file: path};
export async function getFile(path, skipTracking = false) {
let body = {file: path, skip_tracking: skipTracking};
const response = await apiPost(`${API_URI}/files/file`, body);
if (response.ok) {
const {file} = await response.json();