mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-11 00:02:38 +02:00
chore: reduce viewer cache limit from 5 to 3
This commit is contained in:
parent
d9d936b7e8
commit
0250ca638e
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import { useEffect, useState } from 'react'
|
|||
import { HtmlFileViewer } from './html-file-viewer'
|
||||
import { PdfFileViewer } from './pdf-file-viewer'
|
||||
|
||||
const CACHE_LIMIT = 5
|
||||
const CACHE_LIMIT = 3
|
||||
|
||||
function isCacheable(path: string): boolean {
|
||||
const lower = path.toLowerCase()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue