mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 05:39:57 -05:00
Skipping recent file tracking for ignored directories, and video and archive pages.
This commit is contained in:
parent
bfaf1514da
commit
bdc29dace1
6 changed files with 97 additions and 13 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue